#CDCC4A#CDCC4A

#CDCC4A is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.2% C 0.149 H 108.9°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#CDCC4A
RGBrgb(205, 204, 74)
HSLhsl(60, 57%, 55%)
HSVhsv(60, 64%, 80%)
CMYKcmyk(0%, 0.5%, 63.9%, 19.6%)
CIE-LABlab(79.99, -15.55, 62.47)
CIE-LCHlch(79.99, 64.37, 103.98°)
OKLaboklab(82.21% -0.0482 0.1412)
OKLCHoklch(82.21% 0.149 108.9)
XYZxyz(48.0073, 56.6607, 14.8850)
Luminance0.5666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC4A #4A4BCD
analogous
#CD8B4A #CDCC4A #8DCD4A
triadic
#CDCC4A #4ACDCC #CC4ACD
tetradic
#CDCC4A #4ACD8B #4A4BCD #CD4A8D
square
#CDCC4A #4ACD8B #4A4BCD #CD4A8D
split-complementary
#CDCC4A #4A8DCD #8B4ACD
monochromatic
#7B7A22 #ABAA2F #CDCC4A #DADA7A #E7E7AA

Accessibility & contrast

On white

1.70
#CDCC4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#CDCC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC4A
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC4A#FFFFFF#000000##000000
##CDCC4A1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC439
Deuteranopia (green-blind)
#DEC852
Tritanopia (blue-blind)
#DBC0B1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cdcc4a;
/* rgb */ color: rgb(205, 204, 74);
/* oklch */ color: oklch(82.2% 0.149 108.9);
Tailwind
colors: {
  custom: {
    50: '#dfdb83',
    500: '#cdcc4a',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc4a;
$custom-light: #dfdb83;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc4a",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 59.542,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82213,
    "c": 0.14923,
    "h": 108.9
  },
  "luminance": 0.56659
}

Semantic roles & 50–950 ramp

primary
#CDCC4A
secondary
#383983
accent
#49E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CDCC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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