#CCD257#CCD257

#CCD257 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.5% C 0.146 H 111.8°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#CCD257
RGBrgb(204, 210, 87)
HSLhsl(63, 58%, 58%)
HSVhsv(63, 59%, 82%)
CMYKcmyk(2.9%, 0%, 58.6%, 17.6%)
CIE-LABlab(81.63, -18.09, 58.75)
CIE-LCHlch(81.63, 61.48, 107.11°)
OKLaboklab(83.54% -0.054 0.1352)
OKLCHoklch(83.54% 0.146 111.8)
XYZxyz(49.6700, 59.6198, 17.9062)
Luminance0.5962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD257 #5D57D2
analogous
#D29A57 #CCD257 #8ED257
triadic
#CCD257 #57CCD2 #D257CC
tetradic
#CCD257 #57D29A #5D57D2 #D2578E
square
#CCD257 #57D29A #5D57D2 #D2578E
split-complementary
#CCD257 #578ED2 #9A57D2
monochromatic
#858A25 #B3BA32 #CCD257 #DBDF87 #E9ECB8

Accessibility & contrast

On white

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

On black

12.92
#CCD257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD257
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD257#FFFFFF#000000##000000
##CCD2571.001.6212.9212.92
#FFFFFF1.621.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd257;
/* rgb */ color: rgb(204, 210, 87);
/* oklch */ color: oklch(83.5% 0.146 111.8);
Tailwind
colors: {
  custom: {
    50: '#dedf8b',
    500: '#ccd257',
    950: '#000000',
  },
}
SCSS
$custom: #ccd257;
$custom-light: #dedf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd257",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 62.927,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.8354,
    "c": 0.14555,
    "h": 111.8
  },
  "luminance": 0.59619
}

Semantic roles & 50–950 ramp

primary
#CCD257
secondary
#413D90
accent
#47E14E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD257

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

Preview Lab → · Contrast checker → · Palette generator →

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