#CCE772#CCE772

#CCE772 is a very light, vivid yellow-green. Relative luminance 0.712; OKLCH L 88.4% C 0.146 H 120.2°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#CCE772
RGBrgb(204, 231, 114)
HSLhsl(74, 71%, 68%)
HSVhsv(74, 51%, 91%)
CMYKcmyk(11.7%, 0%, 50.6%, 9.4%)
CIE-LABlab(87.58, -26.03, 53.44)
CIE-LCHlch(87.58, 59.44, 115.98°)
OKLaboklab(88.39% -0.0738 0.1265)
OKLCHoklch(88.39% 0.146 120.2)
XYZxyz(56.5155, 71.2043, 26.6828)
Luminance0.7120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE772 #8D72E7
analogous
#E7C772 #CCE772 #92E772
triadic
#CCE772 #72CCE7 #E772CC
tetradic
#CCE772 #72E7C7 #8D72E7 #E77292
square
#CCE772 #72E7C7 #8D72E7 #E77292
split-complementary
#CCE772 #7292E7 #C772E7
monochromatic
#9ABE20 #B9DE3E #CCE772 #DFF0A6 #F2F9DB

Accessibility & contrast

On white

1.38
#CCE772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.24
#CCE772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE772
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE772#FFFFFF#000000##000000
##CCE7721.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC67
Deuteranopia (green-blind)
#F0DC79
Tritanopia (blue-blind)
#D5DDCC
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cce772;
/* rgb */ color: rgb(204, 231, 114);
/* oklch */ color: oklch(88.4% 0.146 120.2);
Tailwind
colors: {
  custom: {
    50: '#ddee9d',
    500: '#cce772',
    950: '#000000',
  },
}
SCSS
$custom: #cce772;
$custom-light: #ddee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cce772",
  "rgb": {
    "r": 204,
    "g": 231,
    "b": 114
  },
  "hsl": {
    "h": 73.846,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88394,
    "c": 0.14646,
    "h": 120.2
  },
  "luminance": 0.71204
}

Semantic roles & 50–950 ramp

primary
#CCE772
secondary
#5D40BD
accent
#13D33F
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CCE772

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

Preview Lab → · Contrast checker → · Palette generator →

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