#CCE974#CCE974

#CCE974 is a very light, vivid yellow-green. Relative luminance 0.724; OKLCH L 88.9% C 0.147 H 121.0°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#CCE974
RGBrgb(204, 233, 116)
HSLhsl(75, 73%, 68%)
HSVhsv(75, 50%, 91%)
CMYKcmyk(12.4%, 0%, 50.2%, 8.6%)
CIE-LABlab(88.15, -26.80, 53.18)
CIE-LCHlch(88.15, 59.55, 116.74°)
OKLaboklab(88.85% -0.0757 0.1261)
OKLCHoklch(88.85% 0.147 121)
XYZxyz(57.1935, 72.3762, 27.4766)
Luminance0.7238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE974 #9174E9
analogous
#E9CB74 #CCE974 #91E974
triadic
#CCE974 #74CCE9 #E974CC
tetradic
#CCE974 #74E9CB #9174E9 #E97491
square
#CCE974 #74E9CB #9174E9 #E97491
split-complementary
#CCE974 #7491E9 #CB74E9
monochromatic
#9BC41F #B9E13F #CCE974 #DFF1A9 #F3FADE

Accessibility & contrast

On white

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

On black

15.48
#CCE974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE974
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE974#FFFFFF#000000##000000
##CCE9741.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cce974;
/* rgb */ color: rgb(204, 233, 116);
/* oklch */ color: oklch(88.9% 0.147 121.0);
Tailwind
colors: {
  custom: {
    50: '#ddf09f',
    500: '#cce974',
    950: '#000000',
  },
}
SCSS
$custom: #cce974;
$custom-light: #ddf09f;
$custom-dark: #000000;
JSON
{
  "hex": "#cce974",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 116
  },
  "hsl": {
    "h": 74.872,
    "s": 72.671,
    "l": 68.431
  },
  "oklch": {
    "l": 0.88855,
    "c": 0.14712,
    "h": 121
  },
  "luminance": 0.72376
}

Semantic roles & 50–950 ramp

primary
#CCE974
secondary
#6040C1
accent
#11D541
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #CCE974

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

Preview Lab → · Contrast checker → · Palette generator →

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