#CCD24B#CCD24B

#CCD24B is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.4% C 0.155 H 111.8°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#CCD24B
RGBrgb(204, 210, 75)
HSLhsl(63, 60%, 56%)
HSVhsv(63, 64%, 82%)
CMYKcmyk(2.9%, 0%, 64.3%, 17.6%)
CIE-LABlab(81.53, -18.88, 63.65)
CIE-LCHlch(81.53, 66.39, 106.52°)
OKLaboklab(83.43% -0.0574 0.1439)
OKLCHoklch(83.43% 0.155 111.8)
XYZxyz(49.2199, 59.4397, 15.5355)
Luminance0.5944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD24B #514BD2
analogous
#D2944B #CCD24B #88D24B
triadic
#CCD24B #4BCCD2 #D24BCC
tetradic
#CCD24B #4BD294 #514BD2 #D24B88
square
#CCD24B #4BD294 #514BD2 #D24B88
split-complementary
#CCD24B #4B88D2 #944BD2
monochromatic
#7E8221 #ADB32D #CCD24B #DADE7C #E8EAAD

Accessibility & contrast

On white

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

On black

12.89
#CCD24B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD24B
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD24B#FFFFFF#000000##000000
##CCD24B1.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C939
Deuteranopia (green-blind)
#E2CC54
Tritanopia (blue-blind)
#D9C6B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ccd24b;
/* rgb */ color: rgb(204, 210, 75);
/* oklch */ color: oklch(83.4% 0.155 111.8);
Tailwind
colors: {
  custom: {
    50: '#dfdf84',
    500: '#ccd24b',
    950: '#000000',
  },
}
SCSS
$custom: #ccd24b;
$custom-light: #dfdf84;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd24b",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 75
  },
  "hsl": {
    "h": 62.667,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.83429,
    "c": 0.15494,
    "h": 111.8
  },
  "luminance": 0.59439
}

Semantic roles & 50–950 ramp

primary
#CCD24B
secondary
#3C3889
accent
#45E34C
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD24B

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

Preview Lab → · Contrast checker → · Palette generator →

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