#CDD877#CDD877

#CDD877 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.3% C 0.122 H 114.3°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#CDD877
RGBrgb(205, 216, 119)
HSLhsl(67, 55%, 66%)
HSVhsv(67, 45%, 85%)
CMYKcmyk(5.1%, 0%, 44.9%, 15.3%)
CIE-LABlab(83.66, -17.88, 46.35)
CIE-LCHlch(83.66, 49.68, 111.10°)
OKLaboklab(85.29% -0.0503 0.1113)
OKLCHoklch(85.29% 0.122 114.3)
XYZxyz(53.0631, 63.4235, 26.8958)
Luminance0.6342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD877 #8277D8
analogous
#D8B277 #CDD877 #9CD877
triadic
#CDD877 #77CDD8 #D877CD
tetradic
#CDD877 #77D8B2 #8277D8 #D8779C
square
#CDD877 #77D8B2 #8277D8 #D8779C
split-complementary
#CDD877 #779CD8 #B277D8
monochromatic
#98A52F #BCCA47 #CDD877 #DEE6A7 #F0F3D6

Accessibility & contrast

On white

1.53
#CDD877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#CDD877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD877
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD877#FFFFFF#000000##000000
##CDD8771.001.5313.6813.68
#FFFFFF1.531.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D06F
Deuteranopia (green-blind)
#E4D27C
Tritanopia (blue-blind)
#D7CEC1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cdd877;
/* rgb */ color: rgb(205, 216, 119);
/* oklch */ color: oklch(85.3% 0.122 114.3);
Tailwind
colors: {
  custom: {
    50: '#dee4a0',
    500: '#cdd877',
    950: '#000000',
  },
}
SCSS
$custom: #cdd877;
$custom-light: #dee4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd877",
  "rgb": {
    "r": 205,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 66.804,
    "s": 55.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85294,
    "c": 0.12213,
    "h": 114.3
  },
  "luminance": 0.63423
}

Semantic roles & 50–950 ramp

primary
#CDD877
secondary
#554AA9
accent
#23C335
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CDD877

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

Preview Lab → · Contrast checker → · Palette generator →

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