#CDD157#CDD157

#CDD157 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.4% C 0.144 H 110.9°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#CDD157
RGBrgb(205, 209, 87)
HSLhsl(62, 57%, 58%)
HSVhsv(62, 58%, 82%)
CMYKcmyk(1.9%, 0%, 58.4%, 18%)
CIE-LABlab(81.44, -17.18, 58.57)
CIE-LCHlch(81.44, 61.03, 106.35°)
OKLaboklab(83.41% -0.0515 0.1348)
OKLCHoklch(83.41% 0.144 110.9)
XYZxyz(49.6989, 59.2693, 17.8371)
Luminance0.5927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD157 #5B57D1
analogous
#D19857 #CDD157 #90D157
triadic
#CDD157 #57CDD1 #D157CD
tetradic
#CDD157 #57D198 #5B57D1 #D15790
square
#CDD157 #57D198 #5B57D1 #D15790
split-complementary
#CDD157 #5790D1 #9857D1
monochromatic
#858825 #B4B832 #CDD157 #DBDE87 #EAEBB7

Accessibility & contrast

On white

1.63
#CDD157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#CDD157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD157
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD157#FFFFFF#000000##000000
##CDD1571.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C849
Deuteranopia (green-blind)
#E1CC5E
Tritanopia (blue-blind)
#DAC5B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdd157;
/* rgb */ color: rgb(205, 209, 87);
/* oklch */ color: oklch(83.4% 0.144 110.9);
Tailwind
colors: {
  custom: {
    50: '#dfde8b',
    500: '#cdd157',
    950: '#000000',
  },
}
SCSS
$custom: #cdd157;
$custom-light: #dfde8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd157",
  "rgb": {
    "r": 205,
    "g": 209,
    "b": 87
  },
  "hsl": {
    "h": 61.967,
    "s": 57.009,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83406,
    "c": 0.14425,
    "h": 110.9
  },
  "luminance": 0.59268
}

Semantic roles & 50–950 ramp

primary
#CDD157
secondary
#403D8F
accent
#48E04D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CDD157

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

Preview Lab → · Contrast checker → · Palette generator →

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