#CCE970#CCE970

#CCE970 is a very light, vivid yellow-green. Relative luminance 0.723; OKLCH L 88.8% C 0.151 H 120.7°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#CCE970
RGBrgb(204, 233, 112)
HSLhsl(74, 73%, 68%)
HSVhsv(74, 52%, 91%)
CMYKcmyk(12.4%, 0%, 51.9%, 8.6%)
CIE-LABlab(88.11, -27.17, 54.97)
CIE-LCHlch(88.11, 61.32, 116.30°)
OKLaboklab(88.81% -0.0771 0.1297)
OKLCHoklch(88.81% 0.151 120.7)
XYZxyz(56.9658, 72.2852, 26.2775)
Luminance0.7228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE970 #8D70E9
analogous
#E9C970 #CCE970 #90E970
triadic
#CCE970 #70CCE9 #E970CC
tetradic
#CCE970 #70E9C9 #8D70E9 #E97090
square
#CCE970 #70E9C9 #8D70E9 #E97090
split-complementary
#CCE970 #7090E9 #C970E9
monochromatic
#9AC11E #B9E13B #CCE970 #DFF1A5 #F2F9DA

Accessibility & contrast

On white

1.36
#CCE970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.46
#CCE970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE970
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE970#FFFFFF#000000##000000
##CCE9701.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD65
Deuteranopia (green-blind)
#F2DD77
Tritanopia (blue-blind)
#D5DFCE
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cce970;
/* rgb */ color: rgb(204, 233, 112);
/* oklch */ color: oklch(88.8% 0.151 120.7);
Tailwind
colors: {
  custom: {
    50: '#def09c',
    500: '#cce970',
    950: '#000000',
  },
}
SCSS
$custom: #cce970;
$custom-light: #def09c;
$custom-dark: #000000;
JSON
{
  "hex": "#cce970",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 112
  },
  "hsl": {
    "h": 74.38,
    "s": 73.333,
    "l": 67.647
  },
  "oklch": {
    "l": 0.88805,
    "c": 0.1509,
    "h": 120.7
  },
  "luminance": 0.72285
}

Semantic roles & 50–950 ramp

primary
#CCE970
secondary
#5D3EC0
accent
#10D53F
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160E
muted
#84857F

Preview Lab

Preview with #CCE970

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

Preview Lab → · Contrast checker → · Palette generator →

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