#CCF09D#CCF09D

#CCF09D is a very light, moderate yellow-green. Relative luminance 0.776; OKLCH L 91.0% C 0.114 H 127.6°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#CCF09D
RGBrgb(204, 240, 157)
HSLhsl(86, 73%, 78%)
HSVhsv(86, 35%, 94%)
CMYKcmyk(15%, 0%, 34.6%, 5.9%)
CIE-LABlab(90.59, -25.48, 36.37)
CIE-LCHlch(90.59, 44.41, 125.01°)
OKLaboklab(90.99% -0.0694 0.0903)
OKLCHoklch(90.99% 0.114 127.6)
XYZxyz(62.1469, 77.5913, 43.5942)
Luminance0.7759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF09D #C19DF0
analogous
#F0EA9D #CCF09D #A2F09D
triadic
#CCF09D #9DCCF0 #F09DCC
tetradic
#CCF09D #9DF0EA #C19DF0 #F09DA2
square
#CCF09D #9DF0EA #C19DF0 #F09DA2
split-complementary
#CCF09D #9DA2F0 #EA9DF0
monochromatic
#95E033 #B0E868 #CCF09D #E8F8D2 #F1FBE4

Accessibility & contrast

On white

1.27
#CCF09D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.52
#CCF09D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF09D
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF09D#FFFFFF#000000##000000
##CCF09D1.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E697
Deuteranopia (green-blind)
#F3E3A1
Tritanopia (blue-blind)
#D0E9DB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf09d;
/* rgb */ color: rgb(204, 240, 157);
/* oklch */ color: oklch(91.0% 0.114 127.6);
Tailwind
colors: {
  custom: {
    50: '#dcf5ba',
    500: '#ccf09d',
    950: '#000000',
  },
}
SCSS
$custom: #ccf09d;
$custom-light: #dcf5ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf09d",
  "rgb": {
    "r": 204,
    "g": 240,
    "b": 157
  },
  "hsl": {
    "h": 86.024,
    "s": 73.451,
    "l": 77.843
  },
  "oklch": {
    "l": 0.90993,
    "c": 0.11387,
    "h": 127.6
  },
  "luminance": 0.77592
}

Semantic roles & 50–950 ramp

primary
#CCF09D
secondary
#9264CD
accent
#10D666
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151712
muted
#848582

Preview Lab

Preview with #CCF09D

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

Preview Lab → · Contrast checker → · Palette generator →

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