#CCD03B#CCD03B

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

Color values

HEX#CCD03B
RGBrgb(204, 208, 59)
HSLhsl(62, 61%, 52%)
HSVhsv(62, 72%, 82%)
CMYKcmyk(1.9%, 0%, 71.6%, 18.4%)
CIE-LABlab(80.89, -18.76, 68.97)
CIE-LCHlch(80.89, 71.47, 105.21°)
OKLaboklab(82.88% -0.0586 0.1525)
OKLCHoklch(82.88% 0.163 111)
XYZxyz(48.2488, 58.2662, 12.8417)
Luminance0.5827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD03B #3F3BD0
analogous
#D08A3B #CCD03B #81D03B
triadic
#CCD03B #3BCCD0 #D03BCC
tetradic
#CCD03B #3BD08A #3F3BD0 #D03B81
square
#CCD03B #3BD08A #3F3BD0 #D03B81
split-complementary
#CCD03B #3B81D0 #8A3BD0
monochromatic
#72751C #A3A628 #CCD03B #D9DC6C #E6E89E

Accessibility & contrast

On white

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

On black

12.65
#CCD03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD03B
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD03B#FFFFFF#000000##000000
##CCD03B1.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd03b;
/* rgb */ color: rgb(204, 208, 59);
/* oklch */ color: oklch(82.9% 0.163 111.0);
Tailwind
colors: {
  custom: {
    50: '#dfde7b',
    500: '#ccd03b',
    950: '#000000',
  },
}
SCSS
$custom: #ccd03b;
$custom-light: #dfde7b;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd03b",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 59
  },
  "hsl": {
    "h": 61.611,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.82879,
    "c": 0.16339,
    "h": 111
  },
  "luminance": 0.58265
}

Semantic roles & 50–950 ramp

primary
#CCD03B
secondary
#34327D
accent
#43E448
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CCD03B

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

Preview Lab → · Contrast checker → · Palette generator →

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