#CCD039#CCD039

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

Color values

HEX#CCD039
RGBrgb(204, 208, 57)
HSLhsl(62, 62%, 52%)
HSVhsv(62, 73%, 82%)
CMYKcmyk(1.9%, 0%, 72.6%, 18.4%)
CIE-LABlab(80.88, -18.85, 69.63)
CIE-LCHlch(80.88, 72.14, 105.15°)
OKLaboklab(82.87% -0.0591 0.1536)
OKLCHoklch(82.87% 0.165 111)
XYZxyz(48.1979, 58.2458, 12.5737)
Luminance0.5825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD039 #3D39D0
analogous
#D08839 #CCD039 #81D039
triadic
#CCD039 #39CCD0 #D039CC
tetradic
#CCD039 #39D088 #3D39D0 #D03981
square
#CCD039 #39D088 #3D39D0 #D03981
split-complementary
#CCD039 #3981D0 #8839D0
monochromatic
#71731B #A1A527 #CCD039 #D9DC6A #E5E79C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD039#FFFFFF#000000##000000
##CCD0391.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)
#E0C71A
Deuteranopia (green-blind)
#E1CB45
Tritanopia (blue-blind)
#DAC3B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccd039;
/* rgb */ color: rgb(204, 208, 57);
/* oklch */ color: oklch(82.9% 0.165 111.0);
Tailwind
colors: {
  custom: {
    50: '#dfde7a',
    500: '#ccd039',
    950: '#000000',
  },
}
SCSS
$custom: #ccd039;
$custom-light: #dfde7a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd039",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 57
  },
  "hsl": {
    "h": 61.589,
    "s": 61.633,
    "l": 51.961
  },
  "oklch": {
    "l": 0.82866,
    "c": 0.16454,
    "h": 111
  },
  "luminance": 0.58245
}

Semantic roles & 50–950 ramp

primary
#CCD039
secondary
#33317C
accent
#43E547
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CCD039

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

Preview Lab → · Contrast checker → · Palette generator →

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