#CCEB5A#CCEB5A

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

Color values

HEX#CCEB5A
RGBrgb(204, 235, 90)
HSLhsl(73, 78%, 64%)
HSVhsv(73, 62%, 92%)
CMYKcmyk(13.2%, 0%, 61.7%, 7.8%)
CIE-LABlab(88.44, -29.89, 64.92)
CIE-LCHlch(88.44, 71.47, 114.72°)
OKLaboklab(89.01% -0.0868 0.1486)
OKLCHoklch(89.01% 0.172 120.3)
XYZxyz(56.4564, 72.9924, 20.7856)
Luminance0.7299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEB5A #795AEB
analogous
#EBC25A #CCEB5A #83EB5A
triadic
#CCEB5A #5ACCEB #EB5ACC
tetradic
#CCEB5A #5AEBC2 #795AEB #EB5A83
square
#CCEB5A #5AEBC2 #795AEB #EB5A83
split-complementary
#CCEB5A #5A83EB #C25AEB
monochromatic
#93B516 #BBE423 #CCEB5A #DDF291 #EEF8C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCEB5A#FFFFFF#000000##000000
##CCEB5A1.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)
#F9DE48
Deuteranopia (green-blind)
#F5DE64
Tritanopia (blue-blind)
#D7DFCD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cceb5a;
/* rgb */ color: rgb(204, 235, 90);
/* oklch */ color: oklch(89.0% 0.172 120.3);
Tailwind
colors: {
  custom: {
    50: '#def18f',
    500: '#cceb5a',
    950: '#000000',
  },
}
SCSS
$custom: #cceb5a;
$custom-light: #def18f;
$custom-dark: #000000;
JSON
{
  "hex": "#cceb5a",
  "rgb": {
    "r": 204,
    "g": 235,
    "b": 90
  },
  "hsl": {
    "h": 72.828,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.89011,
    "c": 0.1721,
    "h": 120.3
  },
  "luminance": 0.72992
}

Semantic roles & 50–950 ramp

primary
#CCEB5A
secondary
#5035B5
accent
#0BDB37
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #CCEB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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