#CDB64E#CDB64E

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

Color values

HEX#CDB64E
RGBrgb(205, 182, 78)
HSLhsl(49, 56%, 55%)
HSVhsv(49, 62%, 80%)
CMYKcmyk(0%, 11.2%, 62%, 19.6%)
CIE-LABlab(74.18, -4.04, 54.55)
CIE-LCHlch(74.18, 54.70, 94.24°)
OKLaboklab(77.61% -0.015 0.125)
OKLCHoklch(77.61% 0.126 96.9)
XYZxyz(43.2818, 46.9871, 13.9959)
Luminance0.4698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDB64E #4E65CD
analogous
#CD764E #CDB64E #A4CD4E
triadic
#CDB64E #4ECDB6 #B64ECD
tetradic
#CDB64E #4ECD76 #4E65CD #CD4EA4
square
#CDB64E #4ECD76 #4E65CD #CD4EA4
split-complementary
#CDB64E #4EA4CD #764ECD
monochromatic
#7D6D23 #AD9631 #CDB64E #DACA7E #E8DDAD

Accessibility & contrast

On white

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

On black

10.40
#CDB64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDB64E
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDB64E#FFFFFF#000000##000000
##CDB64E1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B242
Deuteranopia (green-blind)
#CDBA53
Tritanopia (blue-blind)
#DCA9A0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cdb64e;
/* rgb */ color: rgb(205, 182, 78);
/* oklch */ color: oklch(77.6% 0.126 96.9);
Tailwind
colors: {
  custom: {
    50: '#dfcb84',
    500: '#cdb64e',
    950: '#000000',
  },
}
SCSS
$custom: #cdb64e;
$custom-light: #dfcb84;
$custom-dark: #000000;
JSON
{
  "hex": "#cdb64e",
  "rgb": {
    "r": 205,
    "g": 182,
    "b": 78
  },
  "hsl": {
    "h": 49.134,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77608,
    "c": 0.12593,
    "h": 96.9
  },
  "luminance": 0.46985
}

Semantic roles & 50–950 ramp

primary
#CDB64E
secondary
#A1ABD6
accent
#64DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CDB64E

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

Preview Lab → · Contrast checker → · Palette generator →

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