#CDCC77#CDCC77

#CDCC77 is a very light, moderate yellow. Relative luminance 0.575; OKLCH L 82.7% C 0.108 H 107.9°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#CDCC77
RGBrgb(205, 204, 119)
HSLhsl(59, 46%, 64%)
HSVhsv(59, 42%, 80%)
CMYKcmyk(0%, 0.5%, 42%, 19.6%)
CIE-LABlab(80.46, -11.87, 42.37)
CIE-LCHlch(80.46, 44.01, 105.65°)
OKLaboklab(82.74% -0.0332 0.1024)
OKLCHoklch(82.74% 0.108 107.9)
XYZxyz(50.1003, 57.4979, 25.9082)
Luminance0.5750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC77 #7778CD
analogous
#CDA177 #CDCC77 #A3CD77
triadic
#CDCC77 #77CDCC #CC77CD
tetradic
#CDCC77 #77CDA1 #7778CD #CD77A3
square
#CDCC77 #77CDA1 #7778CD #CD77A3
split-complementary
#CDCC77 #77A3CD #A177CD
monochromatic
#939236 #BDBB4A #CDCC77 #DDDDA4 #EEEED0

Accessibility & contrast

On white

1.68
#CDCC77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#CDCC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC77
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC77#FFFFFF#000000##000000
##CDCC771.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C670
Deuteranopia (green-blind)
#DAC97B
Tritanopia (blue-blind)
#D8C2B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdcc77;
/* rgb */ color: rgb(205, 204, 119);
/* oklch */ color: oklch(82.7% 0.108 107.9);
Tailwind
colors: {
  custom: {
    50: '#dedb9f',
    500: '#cdcc77',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc77;
$custom-light: #dedb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc77",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 119
  },
  "hsl": {
    "h": 59.302,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82739,
    "c": 0.10764,
    "h": 107.9
  },
  "luminance": 0.57497
}

Semantic roles & 50–950 ramp

primary
#CDCC77
secondary
#4F4F9A
accent
#2EB92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CDCC77

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

Preview Lab → · Contrast checker → · Palette generator →

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