#CDB04A#CDB04A

#CDB04A is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.125 H 93.3°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#CDB04A
RGBrgb(205, 176, 74)
HSLhsl(47, 57%, 55%)
HSVhsv(47, 64%, 80%)
CMYKcmyk(0%, 14.1%, 63.9%, 19.6%)
CIE-LABlab(72.58, -1.15, 54.59)
CIE-LCHlch(72.58, 54.60, 91.21°)
OKLaboklab(76.33% -0.0072 0.1245)
OKLCHoklch(76.33% 0.125 93.3)
XYZxyz(41.9402, 44.5264, 12.8626)
Luminance0.4452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB04A #4A67CD
analogous
#CD6F4A #CDB04A #A8CD4A
triadic
#CDB04A #4ACDB0 #B04ACD
tetradic
#CDB04A #4ACD6F #4A67CD #CD4AA8
square
#CDB04A #4ACD6F #4A67CD #CD4AA8
split-complementary
#CDB04A #4AA8CD #6F4ACD
monochromatic
#7B6722 #AB8F2F #CDB04A #DAC57A #E7DAAA

Accessibility & contrast

On white

2.12
#CDB04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#CDB04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB04A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB04A#FFFFFF#000000##000000
##CDB04A1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3E
Deuteranopia (green-blind)
#C9B64F
Tritanopia (blue-blind)
#DDA39A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cdb04a;
/* rgb */ color: rgb(205, 176, 74);
/* oklch */ color: oklch(76.3% 0.125 93.3);
Tailwind
colors: {
  custom: {
    50: '#e0c781',
    500: '#cdb04a',
    950: '#000000',
  },
}
SCSS
$custom: #cdb04a;
$custom-light: #e0c781;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb04a",
  "rgb": {
    "r": 205,
    "g": 176,
    "b": 74
  },
  "hsl": {
    "h": 46.718,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.76329,
    "c": 0.12475,
    "h": 93.3
  },
  "luminance": 0.44524
}

Semantic roles & 50–950 ramp

primary
#CDB04A
secondary
#9EAAD5
accent
#6AE048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB04A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CDB04A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva