#CCD03E#CCD03E

#CCD03E 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#CCD03E
RGBrgb(204, 208, 62)
HSLhsl(62, 61%, 53%)
HSVhsv(62, 70%, 82%)
CMYKcmyk(1.9%, 0%, 70.2%, 18.4%)
CIE-LABlab(80.90, -18.61, 67.93)
CIE-LCHlch(80.90, 70.44, 105.32°)
OKLaboklab(82.9% -0.0579 0.1508)
OKLCHoklch(82.9% 0.162 111)
XYZxyz(48.3288, 58.2982, 13.2633)
Luminance0.5830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD03E #423ED0
analogous
#D08B3E #CCD03E #83D03E
triadic
#CCD03E #3ECCD0 #D03ECC
tetradic
#CCD03E #3ED08B #423ED0 #D03E83
square
#CCD03E #3ED08B #423ED0 #D03E83
split-complementary
#CCD03E #3E83D0 #8B3ED0
monochromatic
#74771D #A4A829 #CCD03E #D9DC6F #E6E8A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD03E#FFFFFF#000000##000000
##CCD03E1.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)
#E0C724
Deuteranopia (green-blind)
#E1CB49
Tritanopia (blue-blind)
#DAC3B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccd03e;
/* rgb */ color: rgb(204, 208, 62);
/* oklch */ color: oklch(82.9% 0.162 111.0);
Tailwind
colors: {
  custom: {
    50: '#dfde7d',
    500: '#ccd03e',
    950: '#000000',
  },
}
SCSS
$custom: #ccd03e;
$custom-light: #dfde7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd03e",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 62
  },
  "hsl": {
    "h": 61.644,
    "s": 60.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82899,
    "c": 0.16159,
    "h": 111
  },
  "luminance": 0.58297
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCD03E

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

Preview Lab → · Contrast checker → · Palette generator →

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