#CDCA2E

A color in the Yellow, Gold family

#cdca2e is a color in the Yellow, Gold family: RGB(205, 202, 46), HSL(59°, 63%, 49%), CMYK(0%, 1%, 78%, 20%). Closest named color: yellowgreen. Contrast is 1.74:1 on white and 12.08:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#cdca2e
RGBrgb(205 202 46)
RGB (legacy)rgb(205, 202, 46)
RGB %rgb(80% 79% 18%)
HSLhsl(59 63% 49%)
HSV / HSBhsv(59, 78%, 80%)
HWBhwb(59 18% 20%)
CMYKcmyk(0%, 1%, 78%, 20%)
CIELAB (D50)lab(79.66 -11.3 71.06)
LCHlch(79.66 71.95 99.04)
OKLaboklab(0.816 -0.0518 0.1559)
OKLCHoklch(0.816 0.1643 108.39)
Decimal13486638

Properties

Color ToneYellow, Gold
Closest named coloryellowgreen ΔE 6.6
Closest web-safe color#cccc33
Hue59°
Saturation (HSL / HSV)63% / 78%
Lightness (HSL)49%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)73% / 75%
Relative luminance (WCAG)0.5542
Red / Green / Blue205 / 202 / 46

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.74:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.08:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 31.4 / -71.3 · As background with white / black text: Lc -35.3 / 72.4

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #cdca2e;
  --color-brand-oklch: oklch(81.6% 0.1643 108.39);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(205 202 46 / 50%); }
/* Tailwind CSS */
<div class="bg-[#cdca2e] text-[#cdca2e] border-[#cdca2e]">