#CDC77E#CDC77E

#CDC77E is a light, moderate yellow. Relative luminance 0.553; OKLCH L 81.8% C 0.094 H 104.2°. Best body text is #000000 at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#CDC77E
RGBrgb(205, 199, 126)
HSLhsl(55, 44%, 65%)
HSVhsv(55, 39%, 80%)
CMYKcmyk(0%, 2.9%, 38.5%, 19.6%)
CIE-LABlab(79.23, -8.57, 37.29)
CIE-LCHlch(79.23, 38.27, 102.94°)
OKLaboklab(81.8% -0.0231 0.0913)
OKLCHoklch(81.8% 0.094 104.2)
XYZxyz(49.3669, 55.3335, 27.8145)
Luminance0.5533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC77E #7E84CD
analogous
#CDA07E #CDC77E #ACCD7E
triadic
#CDC77E #7ECDC7 #C77ECD
tetradic
#CDC77E #7ECDA0 #7E84CD #CD7EAC
square
#CDC77E #7ECDA0 #7E84CD #CD7EAC
split-complementary
#CDC77E #7EACCD #A07ECD
monochromatic
#968F3A #BCB452 #CDC77E #DEDAAA #EFEDD6

Accessibility & contrast

On white

1.74
#CDC77E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.07
#CDC77E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC77E
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC77E#FFFFFF#000000##000000
##CDC77E1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C279
Deuteranopia (green-blind)
#D5C681
Tritanopia (blue-blind)
#D8BEB5
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cdc77e;
/* rgb */ color: rgb(205, 199, 126);
/* oklch */ color: oklch(81.8% 0.094 104.2);
Tailwind
colors: {
  custom: {
    50: '#ddd7a4',
    500: '#cdc77e',
    950: '#000000',
  },
}
SCSS
$custom: #cdc77e;
$custom-light: #ddd7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc77e",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 126
  },
  "hsl": {
    "h": 55.443,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.81798,
    "c": 0.09414,
    "h": 104.2
  },
  "luminance": 0.55332
}

Semantic roles & 50–950 ramp

primary
#CDC77E
secondary
#53589D
accent
#39B72E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC77E

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

Preview Lab → · Contrast checker → · Palette generator →

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