#CCE072#CCE072

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

Color values

HEX#CCE072
RGBrgb(204, 224, 114)
HSLhsl(71, 64%, 66%)
HSVhsv(71, 49%, 88%)
CMYKcmyk(8.9%, 0%, 49.1%, 12.2%)
CIE-LABlab(85.69, -22.68, 51.18)
CIE-LCHlch(85.69, 55.97, 113.90°)
OKLaboklab(86.87% -0.0643 0.1216)
OKLCHoklch(86.87% 0.138 117.9)
XYZxyz(54.5953, 67.3640, 26.0428)
Luminance0.6736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE072 #8672E0
analogous
#E0BD72 #CCE072 #95E072
triadic
#CCE072 #72CCE0 #E072CC
tetradic
#CCE072 #72E0BD #8672E0 #E07295
square
#CCE072 #72E0BD #8672E0 #E07295
split-complementary
#CCE072 #7295E0 #BD72E0
monochromatic
#98B127 #BAD540 #CCE072 #DEEBA4 #F0F6D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE072#FFFFFF#000000##000000
##CCE0721.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)
#ECD668
Deuteranopia (green-blind)
#EAD778
Tritanopia (blue-blind)
#D6D6C7
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cce072;
/* rgb */ color: rgb(204, 224, 114);
/* oklch */ color: oklch(86.9% 0.138 117.9);
Tailwind
colors: {
  custom: {
    50: '#dde99d',
    500: '#cce072',
    950: '#000000',
  },
}
SCSS
$custom: #cce072;
$custom-light: #dde99d;
$custom-dark: #000000;
JSON
{
  "hex": "#cce072",
  "rgb": {
    "r": 204,
    "g": 224,
    "b": 114
  },
  "hsl": {
    "h": 70.909,
    "s": 63.953,
    "l": 66.275
  },
  "oklch": {
    "l": 0.86873,
    "c": 0.13753,
    "h": 117.9
  },
  "luminance": 0.67364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCE072

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

Preview Lab → · Contrast checker → · Palette generator →

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