#CDB04D#CDB04D

#CDB04D is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.4% C 0.122 H 92.9°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#CDB04D
RGBrgb(205, 176, 77)
HSLhsl(46, 56%, 55%)
HSVhsv(46, 62%, 80%)
CMYKcmyk(0%, 14.1%, 62.4%, 19.6%)
CIE-LABlab(72.61, -0.95, 53.27)
CIE-LCHlch(72.61, 53.28, 91.03°)
OKLaboklab(76.36% -0.0063 0.1222)
OKLCHoklch(76.36% 0.122 92.9)
XYZxyz(42.0437, 44.5678, 13.4076)
Luminance0.4457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB04D #4D6ACD
analogous
#CD704D #CDB04D #AACD4D
triadic
#CDB04D #4DCDB0 #B04DCD
tetradic
#CDB04D #4DCD70 #4D6ACD #CD4DAA
square
#CDB04D #4DCD70 #4D6ACD #CD4DAA
split-complementary
#CDB04D #4DAACD #704DCD
monochromatic
#7D6823 #AC9030 #CDB04D #DAC57D #E8DAAD

Accessibility & contrast

On white

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

On black

9.91
#CDB04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB04D
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB04D#FFFFFF#000000##000000
##CDB04D1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD42
Deuteranopia (green-blind)
#C9B652
Tritanopia (blue-blind)
#DDA39B
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cdb04d;
/* rgb */ color: rgb(205, 176, 77);
/* oklch */ color: oklch(76.4% 0.122 92.9);
Tailwind
colors: {
  custom: {
    50: '#dfc783',
    500: '#cdb04d',
    950: '#000000',
  },
}
SCSS
$custom: #cdb04d;
$custom-light: #dfc783;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb04d",
  "rgb": {
    "r": 205,
    "g": 176,
    "b": 77
  },
  "hsl": {
    "h": 46.406,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.7636,
    "c": 0.12232,
    "h": 92.9
  },
  "luminance": 0.44566
}

Semantic roles & 50–950 ramp

primary
#CDB04D
secondary
#A0ACD6
accent
#6BDF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB04D

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

Preview Lab → · Contrast checker → · Palette generator →

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