#CDC877#CDC877

#CDC877 is a light, moderate yellow. Relative luminance 0.556; OKLCH L 81.9% C 0.103 H 105.4°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#CDC877
RGBrgb(205, 200, 119)
HSLhsl(57, 46%, 64%)
HSVhsv(57, 42%, 80%)
CMYKcmyk(0%, 2.4%, 42%, 19.6%)
CIE-LABlab(79.40, -9.84, 41.05)
CIE-LCHlch(79.40, 42.21, 103.48°)
OKLaboklab(81.9% -0.0273 0.0994)
OKLCHoklch(81.9% 0.103 105.4)
XYZxyz(49.1618, 55.6208, 25.5954)
Luminance0.5562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC877 #777CCD
analogous
#CD9D77 #CDC877 #A7CD77
triadic
#CDC877 #77CDC8 #C877CD
tetradic
#CDC877 #77CD9D #777CCD #CD77A7
square
#CDC877 #77CD9D #777CCD #CD77A7
split-complementary
#CDC877 #77A7CD #9D77CD
monochromatic
#938E36 #BDB64A #CDC877 #DDDAA4 #EEECD0

Accessibility & contrast

On white

1.73
#CDC877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#CDC877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC877
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC877#FFFFFF#000000##000000
##CDC8771.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C271
Deuteranopia (green-blind)
#D7C77A
Tritanopia (blue-blind)
#D8BEB4
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cdc877;
/* rgb */ color: rgb(205, 200, 119);
/* oklch */ color: oklch(81.9% 0.103 105.4);
Tailwind
colors: {
  custom: {
    50: '#ded89f',
    500: '#cdc877',
    950: '#000000',
  },
}
SCSS
$custom: #cdc877;
$custom-light: #ded89f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc877",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 119
  },
  "hsl": {
    "h": 56.512,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.81896,
    "c": 0.1031,
    "h": 105.4
  },
  "luminance": 0.5562
}

Semantic roles & 50–950 ramp

primary
#CDC877
secondary
#4F539A
accent
#34B92C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #CDC877

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

Preview Lab → · Contrast checker → · Palette generator →

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