#CDC64D#CDC64D

#CDC64D is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.141 H 106.0°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#CDC64D
RGBrgb(205, 198, 77)
HSLhsl(57, 56%, 55%)
HSVhsv(57, 62%, 80%)
CMYKcmyk(0%, 3.4%, 62.4%, 19.6%)
CIE-LABlab(78.41, -12.34, 59.56)
CIE-LCHlch(78.41, 60.82, 101.71°)
OKLaboklab(80.96% -0.0388 0.1355)
OKLCHoklch(80.96% 0.141 106)
XYZxyz(46.7121, 53.9047, 14.9638)
Luminance0.5390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC64D #4D54CD
analogous
#CD864D #CDC64D #94CD4D
triadic
#CDC64D #4DCDC6 #C64DCD
tetradic
#CDC64D #4DCD86 #4D54CD #CD4D94
square
#CDC64D #4DCD86 #4D54CD #CD4D94
split-complementary
#CDC64D #4D94CD #864DCD
monochromatic
#7D7823 #ACA630 #CDC64D #DAD57D #E8E5AD

Accessibility & contrast

On white

1.78
#CDC64D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#CDC64D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC64D
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC64D#FFFFFF#000000##000000
##CDC64D1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3E
Deuteranopia (green-blind)
#D9C454
Tritanopia (blue-blind)
#DBBAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc64d;
/* rgb */ color: rgb(205, 198, 77);
/* oklch */ color: oklch(81.0% 0.141 106.0);
Tailwind
colors: {
  custom: {
    50: '#dfd784',
    500: '#cdc64d',
    950: '#000000',
  },
}
SCSS
$custom: #cdc64d;
$custom-light: #dfd784;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc64d",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 77
  },
  "hsl": {
    "h": 56.719,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80959,
    "c": 0.14097,
    "h": 106
  },
  "luminance": 0.53903
}

Semantic roles & 50–950 ramp

primary
#CDC64D
secondary
#3A3E84
accent
#51DF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC64D

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

Preview Lab → · Contrast checker → · Palette generator →

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