#CCE24F#CCE24F

#CCE24F is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 86.9% C 0.170 H 117.4°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#CCE24F
RGBrgb(204, 226, 79)
HSLhsl(69, 72%, 60%)
HSVhsv(69, 65%, 89%)
CMYKcmyk(9.7%, 0%, 65%, 11.4%)
CIE-LABlab(85.90, -26.38, 66.62)
CIE-LCHlch(85.90, 71.65, 111.60°)
OKLaboklab(86.94% -0.078 0.1507)
OKLCHoklch(86.94% 0.17 117.4)
XYZxyz(53.5106, 67.7952, 17.6625)
Luminance0.6780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE24F #654FE2
analogous
#E2AF4F #CCE24F #82E24F
triadic
#CCE24F #4FCCE2 #E24FCC
tetradic
#CCE24F #4FE2AF #654FE2 #E24F82
square
#CCE24F #4FE2AF #654FE2 #E24F82
split-complementary
#CCE24F #4F82E2 #AF4FE2
monochromatic
#899D1A #B7D122 #CCE24F #DBEB84 #EAF3B8

Accessibility & contrast

On white

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

On black

14.56
#CCE24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE24F
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE24F#FFFFFF#000000##000000
##CCE24F1.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D63B
Deuteranopia (green-blind)
#EED85A
Tritanopia (blue-blind)
#D8D6C4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #cce24f;
/* rgb */ color: rgb(204, 226, 79);
/* oklch */ color: oklch(86.9% 0.170 117.4);
Tailwind
colors: {
  custom: {
    50: '#dfeb88',
    500: '#cce24f',
    950: '#000000',
  },
}
SCSS
$custom: #cce24f;
$custom-light: #dfeb88;
$custom-dark: #000000;
JSON
{
  "hex": "#cce24f",
  "rgb": {
    "r": 204,
    "g": 226,
    "b": 79
  },
  "hsl": {
    "h": 68.98,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86942,
    "c": 0.16974,
    "h": 117.4
  },
  "luminance": 0.67795
}

Semantic roles & 50–950 ramp

primary
#CCE24F
secondary
#4535A0
accent
#39EE54
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CCE24F

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

Preview Lab → · Contrast checker → · Palette generator →

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