#CDB64D#CDB64D

#CDB64D is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.6% C 0.127 H 96.9°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#CDB64D
RGBrgb(205, 182, 77)
HSLhsl(49, 56%, 55%)
HSVhsv(49, 62%, 80%)
CMYKcmyk(0%, 11.2%, 62.4%, 19.6%)
CIE-LABlab(74.17, -4.11, 54.99)
CIE-LCHlch(74.17, 55.14, 94.27°)
OKLaboklab(77.6% -0.0153 0.1258)
OKLCHoklch(77.6% 0.127 96.9)
XYZxyz(43.2462, 46.9729, 13.8085)
Luminance0.4697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB64D #4D64CD
analogous
#CD764D #CDB64D #A4CD4D
triadic
#CDB64D #4DCDB6 #B64DCD
tetradic
#CDB64D #4DCD76 #4D64CD #CD4DA4
square
#CDB64D #4DCD76 #4D64CD #CD4DA4
split-complementary
#CDB64D #4DA4CD #764DCD
monochromatic
#7D6C23 #AC9630 #CDB64D #DACA7D #E8DDAD

Accessibility & contrast

On white

2.02
#CDB64D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#CDB64D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB64D
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB64D#FFFFFF#000000##000000
##CDB64D1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B241
Deuteranopia (green-blind)
#CDBA52
Tritanopia (blue-blind)
#DCA99F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb64d;
/* rgb */ color: rgb(205, 182, 77);
/* oklch */ color: oklch(77.6% 0.127 96.9);
Tailwind
colors: {
  custom: {
    50: '#dfcb83',
    500: '#cdb64d',
    950: '#000000',
  },
}
SCSS
$custom: #cdb64d;
$custom-light: #dfcb83;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb64d",
  "rgb": {
    "r": 205,
    "g": 182,
    "b": 77
  },
  "hsl": {
    "h": 49.219,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77598,
    "c": 0.12675,
    "h": 96.9
  },
  "luminance": 0.46971
}

Semantic roles & 50–950 ramp

primary
#CDB64D
secondary
#A0AAD6
accent
#64DF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB64D

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

Preview Lab → · Contrast checker → · Palette generator →

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