#CCD99E#CCD99E

#CCD99E is a very light, moderate yellow-green. Relative luminance 0.649; OKLCH L 86.1% C 0.079 H 118.2°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#CCD99E
RGBrgb(204, 217, 158)
HSLhsl(73, 44%, 74%)
HSVhsv(73, 27%, 85%)
CMYKcmyk(6%, 0%, 27.2%, 14.9%)
CIE-LABlab(84.45, -14.09, 27.68)
CIE-LCHlch(84.45, 31.06, 116.97°)
OKLaboklab(86.09% -0.0373 0.0697)
OKLCHoklch(86.09% 0.079 118.2)
XYZxyz(55.8859, 64.9319, 41.9301)
Luminance0.6493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD99E #AB9ED9
analogous
#D9C89E #CCD99E #AED99E
triadic
#CCD99E #9ECCD9 #D99ECC
tetradic
#CCD99E #9ED9C8 #AB9ED9 #D99EAE
square
#CCD99E #9ED9C8 #AB9ED9 #D99EAE
split-complementary
#CCD99E #9EAED9 #C89ED9
monochromatic
#9DB547 #B5C872 #CCD99E #E3EACA #F3F6E9

Accessibility & contrast

On white

1.50
#CCD99E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#CCD99E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD99E
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD99E#FFFFFF#000000##000000
##CCD99E1.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1D39A
Deuteranopia (green-blind)
#DFD3A0
Tritanopia (blue-blind)
#D2D3C9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ccd99e;
/* rgb */ color: rgb(204, 217, 158);
/* oklch */ color: oklch(86.1% 0.079 118.2);
Tailwind
colors: {
  custom: {
    50: '#dce4bb',
    500: '#ccd99e',
    950: '#000000',
  },
}
SCSS
$custom: #ccd99e;
$custom-light: #dce4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd99e",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 158
  },
  "hsl": {
    "h": 73.22,
    "s": 43.704,
    "l": 73.529
  },
  "oklch": {
    "l": 0.86093,
    "c": 0.07905,
    "h": 118.2
  },
  "luminance": 0.64932
}

Semantic roles & 50–950 ramp

primary
#CCD99E
secondary
#7A6BB0
accent
#2FB74D
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151512
muted
#848482

Preview Lab

Preview with #CCD99E

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

Preview Lab → · Contrast checker → · Palette generator →

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