#CCE975#CCE975

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

Color values

HEX#CCE975
RGBrgb(204, 233, 117)
HSLhsl(75, 73%, 69%)
HSVhsv(75, 50%, 91%)
CMYKcmyk(12.4%, 0%, 49.8%, 8.6%)
CIE-LABlab(88.16, -26.70, 52.73)
CIE-LCHlch(88.16, 59.11, 116.86°)
OKLaboklab(88.87% -0.0754 0.1252)
OKLCHoklch(88.87% 0.146 121)
XYZxyz(57.2520, 72.3996, 27.7846)
Luminance0.7240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE975 #9275E9
analogous
#E9CC75 #CCE975 #92E975
triadic
#CCE975 #75CCE9 #E975CC
tetradic
#CCE975 #75E9CC #9275E9 #E97592
square
#CCE975 #75E9CC #9275E9 #E97592
split-complementary
#CCE975 #7592E9 #CC75E9
monochromatic
#9BC41F #B8E140 #CCE975 #E0F1AA #F3FADF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE975#FFFFFF#000000##000000
##CCE9751.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)
#F5DE6B
Deuteranopia (green-blind)
#F1DD7C
Tritanopia (blue-blind)
#D5DFCE
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #cce975;
/* rgb */ color: rgb(204, 233, 117);
/* oklch */ color: oklch(88.9% 0.146 121.0);
Tailwind
colors: {
  custom: {
    50: '#ddf09f',
    500: '#cce975',
    950: '#000000',
  },
}
SCSS
$custom: #cce975;
$custom-light: #ddf09f;
$custom-dark: #000000;
JSON
{
  "hex": "#cce975",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 117
  },
  "hsl": {
    "h": 75,
    "s": 72.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88867,
    "c": 0.14616,
    "h": 121
  },
  "luminance": 0.724
}

Semantic roles & 50–950 ramp

primary
#CCE975
secondary
#6141C1
accent
#11D542
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #CCE975

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

Preview Lab → · Contrast checker → · Palette generator →

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