#CCD037#CCD037

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

Color values

HEX#CCD037
RGBrgb(204, 208, 55)
HSLhsl(62, 62%, 52%)
HSVhsv(62, 74%, 82%)
CMYKcmyk(1.9%, 0%, 73.6%, 18.4%)
CIE-LABlab(80.86, -18.94, 70.28)
CIE-LCHlch(80.86, 72.79, 105.08°)
OKLaboklab(82.85% -0.0595 0.1546)
OKLCHoklch(82.85% 0.166 111)
XYZxyz(48.1490, 58.2262, 12.3161)
Luminance0.5823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD037 #3B37D0
analogous
#D08837 #CCD037 #80D037
triadic
#CCD037 #37CCD0 #D037CC
tetradic
#CCD037 #37D088 #3B37D0 #D03780
square
#CCD037 #37D088 #3B37D0 #D03780
split-complementary
#CCD037 #3780D0 #8837D0
monochromatic
#70721B #A0A326 #CCD037 #D9DC69 #E5E79A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD037#FFFFFF#000000##000000
##CCD0371.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)
#E0C715
Deuteranopia (green-blind)
#E1CB43
Tritanopia (blue-blind)
#DAC3B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #ccd037;
/* rgb */ color: rgb(204, 208, 55);
/* oklch */ color: oklch(82.9% 0.166 111.0);
Tailwind
colors: {
  custom: {
    50: '#dfde79',
    500: '#ccd037',
    950: '#000000',
  },
}
SCSS
$custom: #ccd037;
$custom-light: #dfde79;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd037",
  "rgb": {
    "r": 204,
    "g": 208,
    "b": 55
  },
  "hsl": {
    "h": 61.569,
    "s": 61.943,
    "l": 51.569
  },
  "oklch": {
    "l": 0.82854,
    "c": 0.16565,
    "h": 111
  },
  "luminance": 0.58225
}

Semantic roles & 50–950 ramp

primary
#CCD037
secondary
#32307B
accent
#43E547
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CCD037

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

Preview Lab → · Contrast checker → · Palette generator →

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