#CDC64E#CDC64E

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

Color values

HEX#CDC64E
RGBrgb(205, 198, 78)
HSLhsl(57, 56%, 55%)
HSVhsv(57, 62%, 80%)
CMYKcmyk(0%, 3.4%, 62%, 19.6%)
CIE-LABlab(78.41, -12.28, 59.14)
CIE-LCHlch(78.41, 60.41, 101.73°)
OKLaboklab(80.97% -0.0385 0.1348)
OKLCHoklch(80.97% 0.14 106)
XYZxyz(46.7477, 53.9189, 15.1512)
Luminance0.5392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC64E #4E55CD
analogous
#CD864E #CDC64E #94CD4E
triadic
#CDC64E #4ECDC6 #C64ECD
tetradic
#CDC64E #4ECD86 #4E55CD #CD4E94
square
#CDC64E #4ECD86 #4E55CD #CD4E94
split-complementary
#CDC64E #4E94CD #864ECD
monochromatic
#7D7823 #ADA631 #CDC64E #DAD57E #E8E5AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDC64E#FFFFFF#000000##000000
##CDC64E1.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)
#D6BF40
Deuteranopia (green-blind)
#D9C455
Tritanopia (blue-blind)
#DBBAAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc64e;
/* rgb */ color: rgb(205, 198, 78);
/* oklch */ color: oklch(81.0% 0.140 106.0);
Tailwind
colors: {
  custom: {
    50: '#dfd785',
    500: '#cdc64e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc64e;
$custom-light: #dfd785;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc64e",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 78
  },
  "hsl": {
    "h": 56.693,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80969,
    "c": 0.14018,
    "h": 106
  },
  "luminance": 0.53917
}

Semantic roles & 50–950 ramp

primary
#CDC64E
secondary
#3A3E85
accent
#51DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC64E

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

Preview Lab → · Contrast checker → · Palette generator →

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