#CCE871#CCE871

#CCE871 is a very light, vivid yellow-green. Relative luminance 0.717; OKLCH L 88.6% C 0.149 H 120.5°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#CCE871
RGBrgb(204, 232, 113)
HSLhsl(74, 72%, 68%)
HSVhsv(74, 51%, 91%)
CMYKcmyk(12.1%, 0%, 51.3%, 9%)
CIE-LABlab(87.84, -26.60, 54.21)
CIE-LCHlch(87.84, 60.38, 116.14°)
OKLaboklab(88.6% -0.0754 0.1281)
OKLCHoklch(88.6% 0.149 120.5)
XYZxyz(56.7395, 71.7430, 26.4782)
Luminance0.7174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE871 #8D71E8
analogous
#E8C971 #CCE871 #90E871
triadic
#CCE871 #71CCE8 #E871CC
tetradic
#CCE871 #71E8C9 #8D71E8 #E87190
square
#CCE871 #71E8C9 #8D71E8 #E87190
split-complementary
#CCE871 #7190E8 #C971E8
monochromatic
#9AC01F #B9DF3C #CCE871 #DFF1A6 #F2F9DA

Accessibility & contrast

On white

1.37
#CCE871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.35
#CCE871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE871
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE871#FFFFFF#000000##000000
##CCE8711.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD66
Deuteranopia (green-blind)
#F1DD78
Tritanopia (blue-blind)
#D5DECD
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cce871;
/* rgb */ color: rgb(204, 232, 113);
/* oklch */ color: oklch(88.6% 0.149 120.5);
Tailwind
colors: {
  custom: {
    50: '#ddef9d',
    500: '#cce871',
    950: '#000000',
  },
}
SCSS
$custom: #cce871;
$custom-light: #ddef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#cce871",
  "rgb": {
    "r": 204,
    "g": 232,
    "b": 113
  },
  "hsl": {
    "h": 74.118,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88599,
    "c": 0.14868,
    "h": 120.5
  },
  "luminance": 0.71743
}

Semantic roles & 50–950 ramp

primary
#CCE871
secondary
#5D3FBF
accent
#11D43F
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CCE871

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

Preview Lab → · Contrast checker → · Palette generator →

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