#CCE957#CCE957

#CCE957 is a very light, vivid yellow-green. Relative luminance 0.718; OKLCH L 88.5% C 0.172 H 119.6°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#CCE957
RGBrgb(204, 233, 87)
HSLhsl(72, 77%, 63%)
HSVhsv(72, 63%, 91%)
CMYKcmyk(12.4%, 0%, 62.7%, 8.6%)
CIE-LABlab(87.87, -29.16, 65.52)
CIE-LCHlch(87.87, 71.72, 113.99°)
OKLaboklab(88.55% -0.085 0.1495)
OKLCHoklch(88.55% 0.172 119.6)
XYZxyz(55.7619, 71.8036, 19.9369)
Luminance0.7180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE957 #7457E9
analogous
#E9BD57 #CCE957 #83E957
triadic
#CCE957 #57CCE9 #E957CC
tetradic
#CCE957 #57E9BD #7457E9 #E95783
square
#CCE957 #57E9BD #7457E9 #E95783
split-complementary
#CCE957 #5783E9 #BD57E9
monochromatic
#91AF17 #BCE221 #CCE957 #DCF08D #EDF7C3

Accessibility & contrast

On white

1.37
#CCE957 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.36
#CCE957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE957
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE957#FFFFFF#000000##000000
##CCE9571.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC45
Deuteranopia (green-blind)
#F4DD61
Tritanopia (blue-blind)
#D7DDCB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #cce957;
/* rgb */ color: rgb(204, 233, 87);
/* oklch */ color: oklch(88.5% 0.172 119.6);
Tailwind
colors: {
  custom: {
    50: '#def08d',
    500: '#cce957',
    950: '#000000',
  },
}
SCSS
$custom: #cce957;
$custom-light: #def08d;
$custom-dark: #000000;
JSON
{
  "hex": "#cce957",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 87
  },
  "hsl": {
    "h": 71.918,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.88545,
    "c": 0.172,
    "h": 119.6
  },
  "luminance": 0.71803
}

Semantic roles & 50–950 ramp

primary
#CCE957
secondary
#4D35AF
accent
#0CD935
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160D
muted
#84857F

Preview Lab

Preview with #CCE957

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

Preview Lab → · Contrast checker → · Palette generator →

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