#CCE258#CCE258

#CCE258 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.0% C 0.163 H 117.6°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#CCE258
RGBrgb(204, 226, 88)
HSLhsl(70, 70%, 62%)
HSVhsv(70, 61%, 89%)
CMYKcmyk(9.7%, 0%, 61.1%, 11.4%)
CIE-LABlab(85.97, -25.78, 63.07)
CIE-LCHlch(85.97, 68.14, 112.23°)
OKLaboklab(87.02% -0.0755 0.1445)
OKLCHoklch(87.02% 0.163 117.6)
XYZxyz(53.8606, 67.9352, 19.5060)
Luminance0.6794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE258 #6E58E2
analogous
#E2B358 #CCE258 #87E258
triadic
#CCE258 #58CCE2 #E258CC
tetradic
#CCE258 #58E2B3 #6E58E2 #E25887
square
#CCE258 #58E2B3 #6E58E2 #E25887
split-complementary
#CCE258 #5887E2 #B358E2
monochromatic
#8EA31C #BBD725 #CCE258 #DCEB8C #ECF4C0

Accessibility & contrast

On white

1.44
#CCE258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.59
#CCE258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE258
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE258#FFFFFF#000000##000000
##CCE2581.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D747
Deuteranopia (green-blind)
#EED861
Tritanopia (blue-blind)
#D7D6C5
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cce258;
/* rgb */ color: rgb(204, 226, 88);
/* oklch */ color: oklch(87.0% 0.163 117.6);
Tailwind
colors: {
  custom: {
    50: '#deeb8d',
    500: '#cce258',
    950: '#000000',
  },
}
SCSS
$custom: #cce258;
$custom-light: #deeb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cce258",
  "rgb": {
    "r": 204,
    "g": 226,
    "b": 88
  },
  "hsl": {
    "h": 69.565,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87021,
    "c": 0.16301,
    "h": 117.6
  },
  "luminance": 0.67935
}

Semantic roles & 50–950 ramp

primary
#CCE258
secondary
#4A38A6
accent
#13D232
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CCE258

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

Preview Lab → · Contrast checker → · Palette generator →

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