#CDD257#CDD257

#CDD257 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.6% C 0.145 H 111.3°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#CDD257
RGBrgb(205, 210, 87)
HSLhsl(62, 58%, 58%)
HSVhsv(62, 59%, 82%)
CMYKcmyk(2.4%, 0%, 58.6%, 17.6%)
CIE-LABlab(81.71, -17.68, 58.86)
CIE-LCHlch(81.71, 61.46, 106.72°)
OKLaboklab(83.62% -0.0529 0.1354)
OKLCHoklch(83.62% 0.145 111.3)
XYZxyz(49.9450, 59.7616, 17.9191)
Luminance0.5976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD257 #5C57D2
analogous
#D29957 #CDD257 #8FD257
triadic
#CDD257 #57CDD2 #D257CD
tetradic
#CDD257 #57D299 #5C57D2 #D2578F
square
#CDD257 #57D299 #5C57D2 #D2578F
split-complementary
#CDD257 #578FD2 #9957D2
monochromatic
#868A25 #B4BA32 #CDD257 #DBDF87 #EAECB8

Accessibility & contrast

On white

1.62
#CDD257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#CDD257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD257
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD257#FFFFFF#000000##000000
##CDD2571.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C949
Deuteranopia (green-blind)
#E2CD5E
Tritanopia (blue-blind)
#DAC6B8
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd257;
/* rgb */ color: rgb(205, 210, 87);
/* oklch */ color: oklch(83.6% 0.145 111.3);
Tailwind
colors: {
  custom: {
    50: '#dfdf8b',
    500: '#cdd257',
    950: '#000000',
  },
}
SCSS
$custom: #cdd257;
$custom-light: #dfdf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd257",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 62.439,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8362,
    "c": 0.14534,
    "h": 111.3
  },
  "luminance": 0.5976
}

Semantic roles & 50–950 ramp

primary
#CDD257
secondary
#403D90
accent
#47E14D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD257

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

Preview Lab → · Contrast checker → · Palette generator →

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