#CCE142#CCE142

#CCE142 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 86.6% C 0.177 H 116.8°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#CCE142
RGBrgb(204, 225, 66)
HSLhsl(68, 73%, 57%)
HSVhsv(68, 71%, 88%)
CMYKcmyk(9.3%, 0%, 70.7%, 11.8%)
CIE-LABlab(85.55, -26.64, 71.06)
CIE-LCHlch(85.55, 75.89, 110.55°)
OKLaboklab(86.63% -0.0799 0.1581)
OKLCHoklch(86.63% 0.177 116.8)
XYZxyz(52.8117, 67.0818, 15.3192)
Luminance0.6708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE142 #5742E1
analogous
#E1A742 #CCE142 #7CE142
triadic
#CCE142 #42CCE1 #E142CC
tetradic
#CCE142 #42E1A7 #5742E1 #E1427C
square
#CCE142 #42E1A7 #5742E1 #E1427C
split-complementary
#CCE142 #427CE1 #A742E1
monochromatic
#819217 #B0C61F #CCE142 #DAE977 #E9F2AC

Accessibility & contrast

On white

1.46
#CCE142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#CCE142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE142
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE142#FFFFFF#000000##000000
##CCE1421.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D525
Deuteranopia (green-blind)
#EED74F
Tritanopia (blue-blind)
#D9D4C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cce142;
/* rgb */ color: rgb(204, 225, 66);
/* oklch */ color: oklch(86.6% 0.177 116.8);
Tailwind
colors: {
  custom: {
    50: '#dfea80',
    500: '#cce142',
    950: '#000000',
  },
}
SCSS
$custom: #cce142;
$custom-light: #dfea80;
$custom-dark: #000000;
JSON
{
  "hex": "#cce142",
  "rgb": {
    "r": 204,
    "g": 225,
    "b": 66
  },
  "hsl": {
    "h": 67.925,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.86626,
    "c": 0.17714,
    "h": 116.8
  },
  "luminance": 0.67081
}

Semantic roles & 50–950 ramp

primary
#CCE142
secondary
#3E3196
accent
#38EF51
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CCE142

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

Preview Lab → · Contrast checker → · Palette generator →

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