#CCD03D#CCD03D

#CCD03D is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 82.9% C 0.162 H 111.0°. Best body text is #000000 at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#CCD03D
RGBrgb(204, 208, 61)
HSLhsl(62, 61%, 53%)
HSVhsv(62, 71%, 82%)
CMYKcmyk(1.9%, 0%, 70.7%, 18.4%)
CIE-LABlab(80.90, -18.66, 68.28)
CIE-LCHlch(80.90, 70.79, 105.29°)
OKLaboklab(82.89% -0.0582 0.1514)
OKLCHoklch(82.89% 0.162 111)
XYZxyz(48.3016, 58.2873, 13.1202)
Luminance0.5829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD03D #413DD0
analogous
#D08B3D #CCD03D #82D03D
triadic
#CCD03D #3DCCD0 #D03DCC
tetradic
#CCD03D #3DD08B #413DD0 #D03D82
square
#CCD03D #3DD08B #413DD0 #D03D82
split-complementary
#CCD03D #3D82D0 #8B3DD0
monochromatic
#74761D #A4A729 #CCD03D #D9DC6E #E6E8A0

Accessibility & contrast

On white

1.66
#CCD03D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.66
#CCD03D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD03D
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD03D#FFFFFF#000000##000000
##CCD03D1.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C722
Deuteranopia (green-blind)
#E1CB48
Tritanopia (blue-blind)
#DAC3B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccd03d;
/* rgb */ color: rgb(204, 208, 61);
/* oklch */ color: oklch(82.9% 0.162 111.0);
Tailwind
colors: {
  custom: {
    50: '#dfde7c',
    500: '#ccd03d',
    950: '#000000',
  },
}
SCSS
$custom: #ccd03d;
$custom-light: #dfde7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd03d",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 61
  },
  "hsl": {
    "h": 61.633,
    "s": 60.996,
    "l": 52.745
  },
  "oklch": {
    "l": 0.82892,
    "c": 0.1622,
    "h": 111
  },
  "luminance": 0.58286
}

Semantic roles & 50–950 ramp

primary
#CCD03D
secondary
#35337E
accent
#44E448
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CCD03D

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

Preview Lab → · Contrast checker → · Palette generator →

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