#CCE048#CCE048

#CCE048 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.5% C 0.172 H 116.6°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#CCE048
RGBrgb(204, 224, 72)
HSLhsl(68, 71%, 58%)
HSVhsv(68, 68%, 88%)
CMYKcmyk(8.9%, 0%, 67.9%, 12.2%)
CIE-LABlab(85.31, -25.84, 68.67)
CIE-LCHlch(85.31, 73.37, 110.62°)
OKLaboklab(86.45% -0.0772 0.154)
OKLCHoklch(86.45% 0.172 116.6)
XYZxyz(52.7284, 66.6172, 16.2103)
Luminance0.6662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE048 #5C48E0
analogous
#E0A848 #CCE048 #80E048
triadic
#CCE048 #48CCE0 #E048CC
tetradic
#CCE048 #48E0A8 #5C48E0 #E04880
square
#CCE048 #48E0A8 #5C48E0 #E04880
split-complementary
#CCE048 #4880E0 #A848E0
monochromatic
#849419 #B3C922 #CCE048 #DBE97C #E9F2B1

Accessibility & contrast

On white

1.47
#CCE048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.32
#CCE048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE048
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE048#FFFFFF#000000##000000
##CCE0481.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD430
Deuteranopia (green-blind)
#EDD654
Tritanopia (blue-blind)
#D8D4C2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cce048;
/* rgb */ color: rgb(204, 224, 72);
/* oklch */ color: oklch(86.5% 0.172 116.6);
Tailwind
colors: {
  custom: {
    50: '#dfe983',
    500: '#cce048',
    950: '#000000',
  },
}
SCSS
$custom: #cce048;
$custom-light: #dfe983;
$custom-dark: #000000;
JSON
{
  "hex": "#cce048",
  "rgb": {
    "r": 204,
    "g": 224,
    "b": 72
  },
  "hsl": {
    "h": 67.895,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.8645,
    "c": 0.17227,
    "h": 116.6
  },
  "luminance": 0.66617
}

Semantic roles & 50–950 ramp

primary
#CCE048
secondary
#413399
accent
#3AEE52
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CCE048

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

Preview Lab → · Contrast checker → · Palette generator →

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