#CCE145#CCE145

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

Color values

HEX#CCE145
RGBrgb(204, 225, 69)
HSLhsl(68, 72%, 58%)
HSVhsv(68, 69%, 88%)
CMYKcmyk(9.3%, 0%, 69.3%, 11.8%)
CIE-LABlab(85.56, -26.48, 70.02)
CIE-LCHlch(85.56, 74.86, 110.72°)
OKLaboklab(86.65% -0.0792 0.1564)
OKLCHoklch(86.65% 0.175 116.9)
XYZxyz(52.9025, 67.1181, 15.7973)
Luminance0.6712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE145 #5A45E1
analogous
#E1A845 #CCE145 #7EE145
triadic
#CCE145 #45CCE1 #E145CC
tetradic
#CCE145 #45E1A8 #5A45E1 #E1457E
square
#CCE145 #45E1A8 #5A45E1 #E1457E
split-complementary
#CCE145 #457EE1 #A845E1
monochromatic
#839418 #B2C820 #CCE145 #DAE97A #E9F2AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE145#FFFFFF#000000##000000
##CCE1451.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)
#F0D52B
Deuteranopia (green-blind)
#EED751
Tritanopia (blue-blind)
#D8D5C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cce145;
/* rgb */ color: rgb(204, 225, 69);
/* oklch */ color: oklch(86.6% 0.175 116.9);
Tailwind
colors: {
  custom: {
    50: '#dfea82',
    500: '#cce145',
    950: '#000000',
  },
}
SCSS
$custom: #cce145;
$custom-light: #dfea82;
$custom-dark: #000000;
JSON
{
  "hex": "#cce145",
  "rgb": {
    "r": 204,
    "g": 225,
    "b": 69
  },
  "hsl": {
    "h": 68.077,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.86647,
    "c": 0.1753,
    "h": 116.9
  },
  "luminance": 0.67117
}

Semantic roles & 50–950 ramp

primary
#CCE145
secondary
#403298
accent
#39EF51
background
#FEFEFB
surface
#FCFDF2
border
#D5D5CC
text
#16160B
muted
#84847E

Preview Lab

Preview with #CCE145

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

Preview Lab → · Contrast checker → · Palette generator →

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