#CCE973#CCE973

#CCE973 is a very light, vivid yellow-green. Relative luminance 0.724; OKLCH L 88.8% C 0.148 H 120.9°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#CCE973
RGBrgb(204, 233, 115)
HSLhsl(75, 73%, 68%)
HSVhsv(75, 51%, 91%)
CMYKcmyk(12.4%, 0%, 50.6%, 8.6%)
CIE-LABlab(88.14, -26.89, 53.63)
CIE-LCHlch(88.14, 60.00, 116.63°)
OKLaboklab(88.84% -0.0761 0.127)
OKLCHoklch(88.84% 0.148 120.9)
XYZxyz(57.1357, 72.3531, 27.1719)
Luminance0.7235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE973 #9073E9
analogous
#E9CB73 #CCE973 #91E973
triadic
#CCE973 #73CCE9 #E973CC
tetradic
#CCE973 #73E9CB #9073E9 #E97391
square
#CCE973 #73E9CB #9073E9 #E97391
split-complementary
#CCE973 #7391E9 #CB73E9
monochromatic
#9BC31F #B9E13E #CCE973 #DFF1A8 #F3FADD

Accessibility & contrast

On white

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

On black

15.47
#CCE973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE973
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE973#FFFFFF#000000##000000
##CCE9731.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cce973;
/* rgb */ color: rgb(204, 233, 115);
/* oklch */ color: oklch(88.8% 0.148 120.9);
Tailwind
colors: {
  custom: {
    50: '#ddf09e',
    500: '#cce973',
    950: '#000000',
  },
}
SCSS
$custom: #cce973;
$custom-light: #ddf09e;
$custom-dark: #000000;
JSON
{
  "hex": "#cce973",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 115
  },
  "hsl": {
    "h": 74.746,
    "s": 72.84,
    "l": 68.235
  },
  "oklch": {
    "l": 0.88842,
    "c": 0.14808,
    "h": 120.9
  },
  "luminance": 0.72353
}

Semantic roles & 50–950 ramp

primary
#CCE973
secondary
#5F3FC1
accent
#11D541
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #CCE973

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

Preview Lab → · Contrast checker → · Palette generator →

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