#CCD03F#CCD03F

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

Color values

HEX#CCD03F
RGBrgb(204, 208, 63)
HSLhsl(62, 61%, 53%)
HSVhsv(62, 70%, 82%)
CMYKcmyk(1.9%, 0%, 69.7%, 18.4%)
CIE-LABlab(80.91, -18.56, 67.58)
CIE-LCHlch(80.91, 70.08, 105.36°)
OKLaboklab(82.91% -0.0577 0.1503)
OKLCHoklch(82.91% 0.161 111)
XYZxyz(48.3565, 58.3093, 13.4092)
Luminance0.5831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD03F #433FD0
analogous
#D08B3F #CCD03F #83D03F
triadic
#CCD03F #3FCCD0 #D03FCC
tetradic
#CCD03F #3FD08B #433FD0 #D03F83
square
#CCD03F #3FD08B #433FD0 #D03F83
split-complementary
#CCD03F #3F83D0 #8B3FD0
monochromatic
#75771D #A5A929 #CCD03F #D9DC70 #E6E8A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD03F#FFFFFF#000000##000000
##CCD03F1.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)
#E0C726
Deuteranopia (green-blind)
#E1CB4A
Tritanopia (blue-blind)
#DAC3B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccd03f;
/* rgb */ color: rgb(204, 208, 63);
/* oklch */ color: oklch(82.9% 0.161 111.0);
Tailwind
colors: {
  custom: {
    50: '#dfde7d',
    500: '#ccd03f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd03f;
$custom-light: #dfde7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd03f",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 63
  },
  "hsl": {
    "h": 61.655,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.82906,
    "c": 0.16097,
    "h": 111
  },
  "luminance": 0.58308
}

Semantic roles & 50–950 ramp

primary
#CCD03F
secondary
#363480
accent
#44E448
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CCD03F

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

Preview Lab → · Contrast checker → · Palette generator →

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