#CCD258#CCD258

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

Color values

HEX#CCD258
RGBrgb(204, 210, 88)
HSLhsl(63, 58%, 58%)
HSVhsv(63, 58%, 82%)
CMYKcmyk(2.9%, 0%, 58.1%, 17.6%)
CIE-LABlab(81.64, -18.01, 58.33)
CIE-LCHlch(81.64, 61.05, 107.16°)
OKLaboklab(83.55% -0.0536 0.1344)
OKLCHoklch(83.55% 0.145 111.8)
XYZxyz(49.7111, 59.6362, 18.1229)
Luminance0.5964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD258 #5E58D2
analogous
#D29B58 #CCD258 #8FD258
triadic
#CCD258 #58CCD2 #D258CC
tetradic
#CCD258 #58D29B #5E58D2 #D2588F
square
#CCD258 #58D29B #5E58D2 #D2588F
split-complementary
#CCD258 #588FD2 #9B58D2
monochromatic
#858A25 #B4BB32 #CCD258 #DBDF88 #E9ECB8

Accessibility & contrast

On white

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

On black

12.93
#CCD258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD258
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD258#FFFFFF#000000##000000
##CCD2581.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd258;
/* rgb */ color: rgb(204, 210, 88);
/* oklch */ color: oklch(83.5% 0.145 111.8);
Tailwind
colors: {
  custom: {
    50: '#dedf8c',
    500: '#ccd258',
    950: '#000000',
  },
}
SCSS
$custom: #ccd258;
$custom-light: #dedf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd258",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 62.951,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8355,
    "c": 0.14472,
    "h": 111.8
  },
  "luminance": 0.59635
}

Semantic roles & 50–950 ramp

primary
#CCD258
secondary
#423E91
accent
#47E14F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD258

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

Preview Lab → · Contrast checker → · Palette generator →

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