#CCE771#CCE771

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

Color values

HEX#CCE771
RGBrgb(204, 231, 113)
HSLhsl(74, 71%, 67%)
HSVhsv(74, 51%, 91%)
CMYKcmyk(11.7%, 0%, 51.1%, 9.4%)
CIE-LABlab(87.57, -26.13, 53.89)
CIE-LCHlch(87.57, 59.89, 115.87°)
OKLaboklab(88.38% -0.0741 0.1274)
OKLCHoklch(88.38% 0.147 120.2)
XYZxyz(56.4589, 71.1816, 26.3847)
Luminance0.7118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE771 #8C71E7
analogous
#E7C771 #CCE771 #91E771
triadic
#CCE771 #71CCE7 #E771CC
tetradic
#CCE771 #71E7C7 #8C71E7 #E77191
square
#CCE771 #71E7C7 #8C71E7 #E77191
split-complementary
#CCE771 #7191E7 #C771E7
monochromatic
#9ABE20 #B9DE3D #CCE771 #DFF0A5 #F2F9DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE771#FFFFFF#000000##000000
##CCE7711.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)
#F3DC66
Deuteranopia (green-blind)
#F0DC78
Tritanopia (blue-blind)
#D5DDCC
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #cce771;
/* rgb */ color: rgb(204, 231, 113);
/* oklch */ color: oklch(88.4% 0.147 120.2);
Tailwind
colors: {
  custom: {
    50: '#ddee9d',
    500: '#cce771',
    950: '#000000',
  },
}
SCSS
$custom: #cce771;
$custom-light: #ddee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cce771",
  "rgb": {
    "r": 204,
    "g": 231,
    "b": 113
  },
  "hsl": {
    "h": 73.729,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.88381,
    "c": 0.1474,
    "h": 120.2
  },
  "luminance": 0.71181
}

Semantic roles & 50–950 ramp

primary
#CCE771
secondary
#5C3FBD
accent
#12D33E
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CCE771

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

Preview Lab → · Contrast checker → · Palette generator →

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