#CCEB5B#CCEB5B

#CCEB5B is a very light, vivid yellow-green. Relative luminance 0.730; OKLCH L 89.0% C 0.171 H 120.3°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#CCEB5B
RGBrgb(204, 235, 91)
HSLhsl(73, 78%, 64%)
HSVhsv(73, 61%, 92%)
CMYKcmyk(13.2%, 0%, 61.3%, 7.8%)
CIE-LABlab(88.45, -29.82, 64.52)
CIE-LCHlch(88.45, 71.07, 114.80°)
OKLaboklab(89.02% -0.0865 0.1479)
OKLCHoklch(89.02% 0.171 120.3)
XYZxyz(56.4993, 73.0095, 21.0113)
Luminance0.7301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEB5B #7A5BEB
analogous
#EBC25B #CCEB5B #84EB5B
triadic
#CCEB5B #5BCCEB #EB5BCC
tetradic
#CCEB5B #5BEBC2 #7A5BEB #EB5B84
square
#CCEB5B #5BEBC2 #7A5BEB #EB5B84
split-complementary
#CCEB5B #5B84EB #C25BEB
monochromatic
#93B516 #BBE424 #CCEB5B #DDF292 #EEF8C8

Accessibility & contrast

On white

1.35
#CCEB5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.60
#CCEB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEB5B
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEB5B#FFFFFF#000000##000000
##CCEB5B1.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE4A
Deuteranopia (green-blind)
#F5DE65
Tritanopia (blue-blind)
#D6DFCD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cceb5b;
/* rgb */ color: rgb(204, 235, 91);
/* oklch */ color: oklch(89.0% 0.171 120.3);
Tailwind
colors: {
  custom: {
    50: '#def18f',
    500: '#cceb5b',
    950: '#000000',
  },
}
SCSS
$custom: #cceb5b;
$custom-light: #def18f;
$custom-dark: #000000;
JSON
{
  "hex": "#cceb5b",
  "rgb": {
    "r": 204,
    "g": 235,
    "b": 91
  },
  "hsl": {
    "h": 72.917,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.8902,
    "c": 0.17134,
    "h": 120.3
  },
  "luminance": 0.73009
}

Semantic roles & 50–950 ramp

primary
#CCEB5B
secondary
#5135B5
accent
#0BDB38
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #CCEB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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