#CCE23D#CCE23D

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

Color values

HEX#CCE23D
RGBrgb(204, 226, 61)
HSLhsl(68, 74%, 56%)
HSVhsv(68, 73%, 89%)
CMYKcmyk(9.7%, 0%, 73%, 11.4%)
CIE-LABlab(85.79, -27.36, 72.98)
CIE-LCHlch(85.79, 77.94, 110.55°)
OKLaboklab(86.81% -0.0824 0.1613)
OKLCHoklch(86.81% 0.181 117)
XYZxyz(52.9418, 67.5677, 14.6669)
Luminance0.6757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE23D #533DE2
analogous
#E2A63D #CCE23D #7AE23D
triadic
#CCE23D #3DCCE2 #E23DCC
tetradic
#CCE23D #3DE2A6 #533DE2 #E23D7A
square
#CCE23D #3DE2A6 #533DE2 #E23D7A
split-complementary
#CCE23D #3D7AE2 #A63DE2
monochromatic
#7F8F15 #AEC41D #CCE23D #DAEA72 #E8F2A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE23D#FFFFFF#000000##000000
##CCE23D1.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)
#F1D61A
Deuteranopia (green-blind)
#EFD74B
Tritanopia (blue-blind)
#D9D5C3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cce23d;
/* rgb */ color: rgb(204, 226, 61);
/* oklch */ color: oklch(86.8% 0.181 117.0);
Tailwind
colors: {
  custom: {
    50: '#dfeb7e',
    500: '#cce23d',
    950: '#000000',
  },
}
SCSS
$custom: #cce23d;
$custom-light: #dfeb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#cce23d",
  "rgb": {
    "r": 204,
    "g": 226,
    "b": 61
  },
  "hsl": {
    "h": 68,
    "s": 73.991,
    "l": 56.275
  },
  "oklch": {
    "l": 0.86814,
    "c": 0.18111,
    "h": 117
  },
  "luminance": 0.67567
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCE23D

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

Preview Lab → · Contrast checker → · Palette generator →

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