#CCE071#CCE071

#CCE071 is a very light, vivid yellow-green. Relative luminance 0.673; OKLCH L 86.9% C 0.139 H 117.8°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#CCE071
RGBrgb(204, 224, 113)
HSLhsl(71, 64%, 66%)
HSVhsv(71, 50%, 88%)
CMYKcmyk(8.9%, 0%, 49.6%, 12.2%)
CIE-LABlab(85.68, -22.77, 51.63)
CIE-LCHlch(85.68, 56.43, 113.80°)
OKLaboklab(86.86% -0.0646 0.1225)
OKLCHoklch(86.86% 0.139 117.8)
XYZxyz(54.5387, 67.3414, 25.7446)
Luminance0.6734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE071 #8571E0
analogous
#E0BC71 #CCE071 #94E071
triadic
#CCE071 #71CCE0 #E071CC
tetradic
#CCE071 #71E0BC #8571E0 #E07194
square
#CCE071 #71E0BC #8571E0 #E07194
split-complementary
#CCE071 #7194E0 #BC71E0
monochromatic
#97B026 #BAD53F #CCE071 #DEEBA3 #F0F6D5

Accessibility & contrast

On white

1.45
#CCE071 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.47
#CCE071 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE071
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE071#FFFFFF#000000##000000
##CCE0711.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD667
Deuteranopia (green-blind)
#EAD777
Tritanopia (blue-blind)
#D6D6C7
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cce071;
/* rgb */ color: rgb(204, 224, 113);
/* oklch */ color: oklch(86.9% 0.139 117.8);
Tailwind
colors: {
  custom: {
    50: '#dde99c',
    500: '#cce071',
    950: '#000000',
  },
}
SCSS
$custom: #cce071;
$custom-light: #dde99c;
$custom-dark: #000000;
JSON
{
  "hex": "#cce071",
  "rgb": {
    "r": 204,
    "g": 224,
    "b": 113
  },
  "hsl": {
    "h": 70.811,
    "s": 64.162,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86861,
    "c": 0.13851,
    "h": 117.8
  },
  "luminance": 0.67341
}

Semantic roles & 50–950 ramp

primary
#CCE071
secondary
#5744B2
accent
#1ACC3A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #CCE071

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

Preview Lab → · Contrast checker → · Palette generator →

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