#CCE23F#CCE23F

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

Color values

HEX#CCE23F
RGBrgb(204, 226, 63)
HSLhsl(68, 74%, 57%)
HSVhsv(68, 72%, 89%)
CMYKcmyk(9.7%, 0%, 72.1%, 11.4%)
CIE-LABlab(85.80, -27.26, 72.33)
CIE-LCHlch(85.80, 77.29, 110.65°)
OKLaboklab(86.83% -0.0819 0.1603)
OKLCHoklch(86.83% 0.18 117.1)
XYZxyz(52.9967, 67.5896, 14.9559)
Luminance0.6759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE23F #553FE2
analogous
#E2A73F #CCE23F #7BE23F
triadic
#CCE23F #3FCCE2 #E23FCC
tetradic
#CCE23F #3FE2A7 #553FE2 #E23F7B
square
#CCE23F #3FE2A7 #553FE2 #E23F7B
split-complementary
#CCE23F #3F7BE2 #A73FE2
monochromatic
#809116 #AFC61E #CCE23F #DAEA74 #E8F2A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE23F#FFFFFF#000000##000000
##CCE23F1.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)
#F1D61F
Deuteranopia (green-blind)
#EFD74D
Tritanopia (blue-blind)
#D9D5C3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cce23f;
/* rgb */ color: rgb(204, 226, 63);
/* oklch */ color: oklch(86.8% 0.180 117.1);
Tailwind
colors: {
  custom: {
    50: '#dfeb7f',
    500: '#cce23f',
    950: '#000000',
  },
}
SCSS
$custom: #cce23f;
$custom-light: #dfeb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#cce23f",
  "rgb": {
    "r": 204,
    "g": 226,
    "b": 63
  },
  "hsl": {
    "h": 68.098,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.86826,
    "c": 0.17999,
    "h": 117.1
  },
  "luminance": 0.67589
}

Semantic roles & 50–950 ramp

primary
#CCE23F
secondary
#3D3096
accent
#37F050
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CCE23F

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

Preview Lab → · Contrast checker → · Palette generator →

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