#CCE07A#CCE07A

#CCE07A is a very light, vivid yellow-green. Relative luminance 0.676; OKLCH L 87.0% C 0.129 H 118.3°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#CCE07A
RGBrgb(204, 224, 122)
HSLhsl(72, 62%, 68%)
HSVhsv(72, 46%, 88%)
CMYKcmyk(8.9%, 0%, 45.5%, 12.2%)
CIE-LABlab(85.78, -21.88, 47.48)
CIE-LCHlch(85.78, 52.28, 114.75°)
OKLaboklab(86.98% -0.0614 0.114)
OKLCHoklch(86.98% 0.129 118.3)
XYZxyz(55.0708, 67.5542, 28.5467)
Luminance0.6755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE07A #8E7AE0
analogous
#E0C17A #CCE07A #99E07A
triadic
#CCE07A #7ACCE0 #E07ACC
tetradic
#CCE07A #7AE0C1 #8E7AE0 #E07A99
square
#CCE07A #7AE0C1 #8E7AE0 #E07A99
split-complementary
#CCE07A #7A99E0 #C17AE0
monochromatic
#9AB52A #B9D448 #CCE07A #DFECAC #F2F7DD

Accessibility & contrast

On white

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

On black

14.51
#CCE07A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE07A
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE07A#FFFFFF#000000##000000
##CCE07A1.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD671
Deuteranopia (green-blind)
#EAD77F
Tritanopia (blue-blind)
#D5D6C8
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cce07a;
/* rgb */ color: rgb(204, 224, 122);
/* oklch */ color: oklch(87.0% 0.129 118.3);
Tailwind
colors: {
  custom: {
    50: '#dde9a2',
    500: '#cce07a',
    950: '#000000',
  },
}
SCSS
$custom: #cce07a;
$custom-light: #dde9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cce07a",
  "rgb": {
    "r": 204,
    "g": 224,
    "b": 122
  },
  "hsl": {
    "h": 71.765,
    "s": 62.195,
    "l": 67.843
  },
  "oklch": {
    "l": 0.86981,
    "c": 0.12948,
    "h": 118.3
  },
  "luminance": 0.67554
}

Semantic roles & 50–950 ramp

primary
#CCE07A
secondary
#5D48B6
accent
#1CCA3E
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15160F
muted
#848480

Preview Lab

Preview with #CCE07A

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

Preview Lab → · Contrast checker → · Palette generator →

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