#CCD22B#CCD22B

#CCD22B is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.2% C 0.173 H 111.8°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#CCD22B
RGBrgb(204, 210, 43)
HSLhsl(62, 66%, 50%)
HSVhsv(62, 80%, 82%)
CMYKcmyk(2.9%, 0%, 79.5%, 17.6%)
CIE-LABlab(81.35, -20.37, 74.29)
CIE-LCHlch(81.35, 77.03, 105.34°)
OKLaboklab(83.23% -0.0644 0.161)
OKLCHoklch(83.23% 0.173 111.8)
XYZxyz(48.3862, 59.1062, 11.1448)
Luminance0.5910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD22B #312BD2
analogous
#D2852B #CCD22B #78D22B
triadic
#CCD22B #2BCCD2 #D22BCC
tetradic
#CCD22B #2BD285 #312BD2 #D22B78
square
#CCD22B #2BD285 #312BD2 #D22B78
split-complementary
#CCD22B #2B78D2 #852BD2
monochromatic
#696C16 #9B9F21 #CCD22B #D9DE5C #E5E88F

Accessibility & contrast

On white

1.64
#CCD22B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#CCD22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD22B
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD22B#FFFFFF#000000##000000
##CCD22B1.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C800
Deuteranopia (green-blind)
#E3CC3B
Tritanopia (blue-blind)
#DAC5B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd22b;
/* rgb */ color: rgb(204, 210, 43);
/* oklch */ color: oklch(83.2% 0.173 111.8);
Tailwind
colors: {
  custom: {
    50: '#e0df74',
    500: '#ccd22b',
    950: '#000000',
  },
}
SCSS
$custom: #ccd22b;
$custom-light: #e0df74;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd22b",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 43
  },
  "hsl": {
    "h": 62.156,
    "s": 66.008,
    "l": 49.608
  },
  "oklch": {
    "l": 0.83225,
    "c": 0.17344,
    "h": 111.8
  },
  "luminance": 0.59105
}

Semantic roles & 50–950 ramp

primary
#CCD22B
secondary
#2E2B76
accent
#3FE945
background
#FEFEFB
surface
#FDFCF1
border
#D5D5CB
text
#161509
muted
#84847D

Preview Lab

Preview with #CCD22B

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

Preview Lab → · Contrast checker → · Palette generator →

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