#CDD158#CDD158

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

Color values

HEX#CDD158
RGBrgb(205, 209, 88)
HSLhsl(62, 57%, 58%)
HSVhsv(62, 58%, 82%)
CMYKcmyk(1.9%, 0%, 57.9%, 18%)
CIE-LABlab(81.45, -17.11, 58.14)
CIE-LCHlch(81.45, 60.60, 106.40°)
OKLaboklab(83.42% -0.0511 0.134)
OKLCHoklch(83.42% 0.143 110.9)
XYZxyz(49.7401, 59.2858, 18.0537)
Luminance0.5928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD158 #5C58D1
analogous
#D19858 #CDD158 #91D158
triadic
#CDD158 #58CDD1 #D158CD
tetradic
#CDD158 #58D198 #5C58D1 #D15891
square
#CDD158 #58D198 #5C58D1 #D15891
split-complementary
#CDD158 #5891D1 #9858D1
monochromatic
#868926 #B4B933 #CDD158 #DBDE88 #EAEBB8

Accessibility & contrast

On white

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

On black

12.86
#CDD158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD158
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD158#FFFFFF#000000##000000
##CDD1581.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdd158;
/* rgb */ color: rgb(205, 209, 88);
/* oklch */ color: oklch(83.4% 0.143 110.9);
Tailwind
colors: {
  custom: {
    50: '#dfde8c',
    500: '#cdd158',
    950: '#000000',
  },
}
SCSS
$custom: #cdd158;
$custom-light: #dfde8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd158",
  "rgb": {
    "r": 205,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 61.983,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83416,
    "c": 0.14341,
    "h": 110.9
  },
  "luminance": 0.59285
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDD158

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

Preview Lab → · Contrast checker → · Palette generator →

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