#CCE23A#CCE23A

#CCE23A is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 86.8% C 0.183 H 117.0°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#CCE23A
RGBrgb(204, 226, 58)
HSLhsl(68, 74%, 56%)
HSVhsv(68, 74%, 89%)
CMYKcmyk(9.7%, 0%, 74.3%, 11.4%)
CIE-LABlab(85.77, -27.49, 73.92)
CIE-LCHlch(85.77, 78.87, 110.40°)
OKLaboklab(86.8% -0.083 0.1628)
OKLCHoklch(86.8% 0.183 117)
XYZxyz(52.8632, 67.5362, 14.2531)
Luminance0.6754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE23A #503AE2
analogous
#E2A43A #CCE23A #78E23A
triadic
#CCE23A #3ACCE2 #E23ACC
tetradic
#CCE23A #3AE2A4 #503AE2 #E23A78
square
#CCE23A #3AE2A4 #503AE2 #E23A78
split-complementary
#CCE23A #3A78E2 #A43AE2
monochromatic
#7D8D15 #ADC21D #CCE23A #DAEA6F #E8F2A5

Accessibility & contrast

On white

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

On black

14.51
#CCE23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE23A
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE23A#FFFFFF#000000##000000
##CCE23A1.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D611
Deuteranopia (green-blind)
#EFD749
Tritanopia (blue-blind)
#D9D5C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cce23a;
/* rgb */ color: rgb(204, 226, 58);
/* oklch */ color: oklch(86.8% 0.183 117.0);
Tailwind
colors: {
  custom: {
    50: '#dfeb7d',
    500: '#cce23a',
    950: '#000000',
  },
}
SCSS
$custom: #cce23a;
$custom-light: #dfeb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cce23a",
  "rgb": {
    "r": 204,
    "g": 226,
    "b": 58
  },
  "hsl": {
    "h": 67.857,
    "s": 74.336,
    "l": 55.686
  },
  "oklch": {
    "l": 0.86796,
    "c": 0.18273,
    "h": 117
  },
  "luminance": 0.67536
}

Semantic roles & 50–950 ramp

primary
#CCE23A
secondary
#3B2E92
accent
#37F14F
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CCE23A

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

Preview Lab → · Contrast checker → · Palette generator →

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