#CCD37A#CCD37A

#CCD37A is a very light, moderate yellow. Relative luminance 0.608; OKLCH L 84.2% C 0.113 H 112.5°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#CCD37A
RGBrgb(204, 211, 122)
HSLhsl(65, 50%, 65%)
HSVhsv(65, 42%, 83%)
CMYKcmyk(3.3%, 0%, 42.2%, 17.3%)
CIE-LABlab(82.29, -15.48, 43.15)
CIE-LCHlch(82.29, 45.85, 109.73°)
OKLaboklab(84.19% -0.0432 0.1043)
OKLCHoklch(84.19% 0.113 112.5)
XYZxyz(51.7096, 60.8318, 27.4263)
Luminance0.6083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD37A #817AD3
analogous
#D3AD7A #CCD37A #9FD37A
triadic
#CCD37A #7ACCD3 #D37ACC
tetradic
#CCD37A #7AD3AD #817AD3 #D37A9F
square
#CCD37A #7AD3AD #817AD3 #D37A9F
split-complementary
#CCD37A #7A9FD3 #AD7AD3
monochromatic
#969E34 #BAC44C #CCD37A #DEE2A8 #EFF1D6

Accessibility & contrast

On white

1.59
#CCD37A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#CCD37A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD37A
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD37A#FFFFFF#000000##000000
##CCD37A1.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCC73
Deuteranopia (green-blind)
#DFCE7E
Tritanopia (blue-blind)
#D6CABE
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd37a;
/* rgb */ color: rgb(204, 211, 122);
/* oklch */ color: oklch(84.2% 0.113 112.5);
Tailwind
colors: {
  custom: {
    50: '#dde0a2',
    500: '#ccd37a',
    950: '#000000',
  },
}
SCSS
$custom: #ccd37a;
$custom-light: #dde0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd37a",
  "rgb": {
    "r": 204,
    "g": 211,
    "b": 122
  },
  "hsl": {
    "h": 64.719,
    "s": 50.282,
    "l": 65.294
  },
  "oklch": {
    "l": 0.8419,
    "c": 0.11292,
    "h": 112.5
  },
  "luminance": 0.60831
}

Semantic roles & 50–950 ramp

primary
#CCD37A
secondary
#554EA3
accent
#28BE34
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD37A

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

Preview Lab → · Contrast checker → · Palette generator →

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