#CDC64A#CDC64A

#CDC64A is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.9% C 0.143 H 106.1°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#CDC64A
RGBrgb(205, 198, 74)
HSLhsl(57, 57%, 55%)
HSVhsv(57, 64%, 80%)
CMYKcmyk(0%, 3.4%, 63.9%, 19.6%)
CIE-LABlab(78.38, -12.53, 60.79)
CIE-LCHlch(78.38, 62.06, 101.65°)
OKLaboklab(80.93% -0.0397 0.1377)
OKLCHoklch(80.93% 0.143 106.1)
XYZxyz(46.6086, 53.8633, 14.4187)
Luminance0.5386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC64A #4A51CD
analogous
#CD854A #CDC64A #93CD4A
triadic
#CDC64A #4ACDC6 #C64ACD
tetradic
#CDC64A #4ACD85 #4A51CD #CD4A93
square
#CDC64A #4ACD85 #4A51CD #CD4A93
split-complementary
#CDC64A #4A93CD #854ACD
monochromatic
#7B7622 #ABA42F #CDC64A #DAD57A #E7E4AA

Accessibility & contrast

On white

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

On black

11.77
#CDC64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC64A
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC64A#FFFFFF#000000##000000
##CDC64A1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3A
Deuteranopia (green-blind)
#D9C452
Tritanopia (blue-blind)
#DBB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cdc64a;
/* rgb */ color: rgb(205, 198, 74);
/* oklch */ color: oklch(80.9% 0.143 106.1);
Tailwind
colors: {
  custom: {
    50: '#dfd782',
    500: '#cdc64a',
    950: '#000000',
  },
}
SCSS
$custom: #cdc64a;
$custom-light: #dfd782;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc64a",
  "rgb": {
    "r": 205,
    "g": 198,
    "b": 74
  },
  "hsl": {
    "h": 56.794,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80932,
    "c": 0.14328,
    "h": 106.1
  },
  "luminance": 0.53862
}

Semantic roles & 50–950 ramp

primary
#CDC64A
secondary
#383C83
accent
#50E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDC64A

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

Preview Lab → · Contrast checker → · Palette generator →

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