#CCD23D#CCD23D

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

Color values

HEX#CCD23D
RGBrgb(204, 210, 61)
HSLhsl(62, 62%, 53%)
HSVhsv(62, 71%, 82%)
CMYKcmyk(2.9%, 0%, 71%, 17.6%)
CIE-LABlab(81.44, -19.64, 68.80)
CIE-LCHlch(81.44, 71.55, 105.93°)
OKLaboklab(83.33% -0.0609 0.1525)
OKLCHoklch(83.33% 0.164 111.8)
XYZxyz(48.7923, 59.2687, 13.2837)
Luminance0.5927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD23D #433DD2
analogous
#D28D3D #CCD23D #81D23D
triadic
#CCD23D #3DCCD2 #D23DCC
tetradic
#CCD23D #3DD28D #433DD2 #D23D81
square
#CCD23D #3DD28D #433DD2 #D23D81
split-complementary
#CCD23D #3D81D2 #8D3DD2
monochromatic
#75791C #A5AA28 #CCD23D #D9DE6F #E6E9A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD23D#FFFFFF#000000##000000
##CCD23D1.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)
#E2C822
Deuteranopia (green-blind)
#E3CC49
Tritanopia (blue-blind)
#DAC5B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd23d;
/* rgb */ color: rgb(204, 210, 61);
/* oklch */ color: oklch(83.3% 0.164 111.8);
Tailwind
colors: {
  custom: {
    50: '#dfdf7c',
    500: '#ccd23d',
    950: '#000000',
  },
}
SCSS
$custom: #ccd23d;
$custom-light: #dfdf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd23d",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 61
  },
  "hsl": {
    "h": 62.416,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.83325,
    "c": 0.16423,
    "h": 111.8
  },
  "luminance": 0.59267
}

Semantic roles & 50–950 ramp

primary
#CCD23D
secondary
#363281
accent
#42E549
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CCD23D

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

Preview Lab → · Contrast checker → · Palette generator →

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