#CCE45B#CCE45B

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

Color values

HEX#CCE45B
RGBrgb(204, 228, 91)
HSLhsl(71, 72%, 63%)
HSVhsv(71, 60%, 89%)
CMYKcmyk(10.5%, 0%, 60.1%, 10.6%)
CIE-LABlab(86.54, -26.52, 62.44)
CIE-LCHlch(86.54, 67.84, 113.01°)
OKLaboklab(87.49% -0.0773 0.1435)
OKLCHoklch(87.49% 0.163 118.3)
XYZxyz(54.5345, 69.0799, 20.3564)
Luminance0.6908 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE45B #735BE4
analogous
#E4B85B #CCE45B #87E45B
triadic
#CCE45B #5BCCE4 #E45BCC
tetradic
#CCE45B #5BE4B8 #735BE4 #E45B87
square
#CCE45B #5BE4B8 #735BE4 #E45B87
split-complementary
#CCE45B #5B87E4 #B85BE4
monochromatic
#90A91C #BCDB26 #CCE45B #DCED90 #EDF5C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCE45B#FFFFFF#000000##000000
##CCE45B1.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)
#F2D84B
Deuteranopia (green-blind)
#EFD964
Tritanopia (blue-blind)
#D7D8C7
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #cce45b;
/* rgb */ color: rgb(204, 228, 91);
/* oklch */ color: oklch(87.5% 0.163 118.3);
Tailwind
colors: {
  custom: {
    50: '#deec8f',
    500: '#cce45b',
    950: '#000000',
  },
}
SCSS
$custom: #cce45b;
$custom-light: #deec8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cce45b",
  "rgb": {
    "r": 204,
    "g": 228,
    "b": 91
  },
  "hsl": {
    "h": 70.511,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.87486,
    "c": 0.16299,
    "h": 118.3
  },
  "luminance": 0.6908
}

Semantic roles & 50–950 ramp

primary
#CCE45B
secondary
#4D39AB
accent
#12D434
background
#FEFEFC
surface
#FCFDF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CCE45B

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

Preview Lab → · Contrast checker → · Palette generator →

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