#CCE991#CCE991

#CCE991 is a very light, moderate yellow-green. Relative luminance 0.732; OKLCH L 89.3% C 0.117 H 123.6°. Best body text is #000000 at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#CCE991
RGBrgb(204, 233, 145)
HSLhsl(80, 67%, 74%)
HSVhsv(80, 38%, 91%)
CMYKcmyk(12.4%, 0%, 37.8%, 8.6%)
CIE-LABlab(88.52, -23.65, 39.66)
CIE-LCHlch(88.52, 46.18, 120.80°)
OKLaboklab(89.28% -0.0648 0.0975)
OKLCHoklch(89.28% 0.117 123.6)
XYZxyz(59.1513, 73.1593, 37.7875)
Luminance0.7316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE991 #AE91E9
analogous
#E9DA91 #CCE991 #A0E991
triadic
#CCE991 #91CCE9 #E991CC
tetradic
#CCE991 #91E9DA #AE91E9 #E991A0
square
#CCE991 #91E9DA #AE91E9 #E991A0
split-complementary
#CCE991 #91A0E9 #DA91E9
monochromatic
#9DD52B #B4DF5E #CCE991 #E4F3C4 #F3FAE5

Accessibility & contrast

On white

1.34
#CCE991 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.63
#CCE991 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE991
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE991#FFFFFF#000000##000000
##CCE9911.001.3415.6315.63
#FFFFFF1.341.0021.0021.00
#00000015.6321.001.001.00
##00000015.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DF8B
Deuteranopia (green-blind)
#EEDE95
Tritanopia (blue-blind)
#D2E1D3
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cce991;
/* rgb */ color: rgb(204, 233, 145);
/* oklch */ color: oklch(89.3% 0.117 123.6);
Tailwind
colors: {
  custom: {
    50: '#dcf0b2',
    500: '#cce991',
    950: '#000000',
  },
}
SCSS
$custom: #cce991;
$custom-light: #dcf0b2;
$custom-dark: #000000;
JSON
{
  "hex": "#cce991",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 145
  },
  "hsl": {
    "h": 79.773,
    "s": 66.667,
    "l": 74.118
  },
  "oklch": {
    "l": 0.89276,
    "c": 0.11708,
    "h": 123.6
  },
  "luminance": 0.7316
}

Semantic roles & 50–950 ramp

primary
#CCE991
secondary
#7D5BC3
accent
#17CF53
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #CCE991

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

Preview Lab → · Contrast checker → · Palette generator →

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