#CCE45D#CCE45D

#CCE45D is a very light, vivid yellow-green. Relative luminance 0.691; OKLCH L 87.5% C 0.161 H 118.4°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#CCE45D
RGBrgb(204, 228, 93)
HSLhsl(71, 71%, 63%)
HSVhsv(71, 59%, 89%)
CMYKcmyk(10.5%, 0%, 59.2%, 10.6%)
CIE-LABlab(86.56, -26.37, 61.61)
CIE-LCHlch(86.56, 67.02, 113.17°)
OKLaboklab(87.51% -0.0767 0.142)
OKLCHoklch(87.51% 0.161 118.4)
XYZxyz(54.6219, 69.1149, 20.8168)
Luminance0.6911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE45D #755DE4
analogous
#E4B95D #CCE45D #88E45D
triadic
#CCE45D #5DCCE4 #E45DCC
tetradic
#CCE45D #5DE4B9 #755DE4 #E45D88
square
#CCE45D #5DE4B9 #755DE4 #E45D88
split-complementary
#CCE45D #5D88E4 #B95DE4
monochromatic
#91AA1C #BBDB29 #CCE45D #DDED91 #EDF5C6

Accessibility & contrast

On white

1.42
#CCE45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.82
#CCE45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE45D
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE45D#FFFFFF#000000##000000
##CCE45D1.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D84E
Deuteranopia (green-blind)
#EFD966
Tritanopia (blue-blind)
#D7D9C7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cce45d;
/* rgb */ color: rgb(204, 228, 93);
/* oklch */ color: oklch(87.5% 0.161 118.4);
Tailwind
colors: {
  custom: {
    50: '#deec90',
    500: '#cce45d',
    950: '#000000',
  },
}
SCSS
$custom: #cce45d;
$custom-light: #deec90;
$custom-dark: #000000;
JSON
{
  "hex": "#cce45d",
  "rgb": {
    "r": 204,
    "g": 228,
    "b": 93
  },
  "hsl": {
    "h": 70.667,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.87505,
    "c": 0.16137,
    "h": 118.4
  },
  "luminance": 0.69114
}

Semantic roles & 50–950 ramp

primary
#CCE45D
secondary
#4E39AC
accent
#12D334
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CCE45D

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

Preview Lab → · Contrast checker → · Palette generator →

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