#CCE23E#CCE23E

#CCE23E is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 86.8% C 0.181 H 117.1°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#CCE23E
RGBrgb(204, 226, 62)
HSLhsl(68, 74%, 56%)
HSVhsv(68, 73%, 89%)
CMYKcmyk(9.7%, 0%, 72.6%, 11.4%)
CIE-LABlab(85.80, -27.31, 72.65)
CIE-LCHlch(85.80, 77.62, 110.60°)
OKLaboklab(86.82% -0.0821 0.1608)
OKLCHoklch(86.82% 0.181 117.1)
XYZxyz(52.9690, 67.5785, 14.8101)
Luminance0.6758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE23E #543EE2
analogous
#E2A63E #CCE23E #7AE23E
triadic
#CCE23E #3ECCE2 #E23ECC
tetradic
#CCE23E #3EE2A6 #543EE2 #E23E7A
square
#CCE23E #3EE2A6 #543EE2 #E23E7A
split-complementary
#CCE23E #3E7AE2 #A63EE2
monochromatic
#809016 #AFC51E #CCE23E #DAEA73 #E8F2A8

Accessibility & contrast

On white

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

On black

14.52
#CCE23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE23E
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE23E#FFFFFF#000000##000000
##CCE23E1.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D61C
Deuteranopia (green-blind)
#EFD74C
Tritanopia (blue-blind)
#D9D5C3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cce23e;
/* rgb */ color: rgb(204, 226, 62);
/* oklch */ color: oklch(86.8% 0.181 117.1);
Tailwind
colors: {
  custom: {
    50: '#dfeb7f',
    500: '#cce23e',
    950: '#000000',
  },
}
SCSS
$custom: #cce23e;
$custom-light: #dfeb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cce23e",
  "rgb": {
    "r": 204,
    "g": 226,
    "b": 62
  },
  "hsl": {
    "h": 68.049,
    "s": 73.874,
    "l": 56.471
  },
  "oklch": {
    "l": 0.8682,
    "c": 0.18056,
    "h": 117.1
  },
  "luminance": 0.67578
}

Semantic roles & 50–950 ramp

primary
#CCE23E
secondary
#3D2F95
accent
#37F150
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CCE23E

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

Preview Lab → · Contrast checker → · Palette generator →

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