#CCE158#CCE158

#CCE158 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 86.8% C 0.162 H 117.3°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#CCE158
RGBrgb(204, 225, 88)
HSLhsl(69, 70%, 61%)
HSVhsv(69, 61%, 88%)
CMYKcmyk(9.3%, 0%, 60.9%, 11.8%)
CIE-LABlab(85.70, -25.31, 62.78)
CIE-LCHlch(85.70, 67.69, 111.96°)
OKLaboklab(86.8% -0.0742 0.1439)
OKLCHoklch(86.8% 0.162 117.3)
XYZxyz(53.5895, 67.3929, 19.4157)
Luminance0.6739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE158 #6D58E1
analogous
#E1B258 #CCE158 #88E158
triadic
#CCE158 #58CCE1 #E158CC
tetradic
#CCE158 #58E1B2 #6D58E1 #E15888
square
#CCE158 #58E1B2 #6D58E1 #E15888
split-complementary
#CCE158 #5888E1 #B258E1
monochromatic
#8DA21D #BBD526 #CCE158 #DCEA8C #ECF4C0

Accessibility & contrast

On white

1.45
#CCE158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#CCE158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE158
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE158#FFFFFF#000000##000000
##CCE1581.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD648
Deuteranopia (green-blind)
#EDD761
Tritanopia (blue-blind)
#D7D5C4
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cce158;
/* rgb */ color: rgb(204, 225, 88);
/* oklch */ color: oklch(86.8% 0.162 117.3);
Tailwind
colors: {
  custom: {
    50: '#deea8d',
    500: '#cce158',
    950: '#000000',
  },
}
SCSS
$custom: #cce158;
$custom-light: #deea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cce158",
  "rgb": {
    "r": 204,
    "g": 225,
    "b": 88
  },
  "hsl": {
    "h": 69.197,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86802,
    "c": 0.16184,
    "h": 117.3
  },
  "luminance": 0.67392
}

Semantic roles & 50–950 ramp

primary
#CCE158
secondary
#4939A4
accent
#14D231
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CCE158

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

Preview Lab → · Contrast checker → · Palette generator →

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