#CCEB5C#CCEB5C

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

Color values

HEX#CCEB5C
RGBrgb(204, 235, 92)
HSLhsl(73, 78%, 64%)
HSVhsv(73, 61%, 92%)
CMYKcmyk(13.2%, 0%, 60.9%, 7.8%)
CIE-LABlab(88.46, -29.74, 64.11)
CIE-LCHlch(88.46, 70.68, 114.89°)
OKLaboklab(89.03% -0.0862 0.1472)
OKLCHoklch(89.03% 0.171 120.4)
XYZxyz(56.5427, 73.0269, 21.2400)
Luminance0.7303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEB5C #7B5CEB
analogous
#EBC35C #CCEB5C #85EB5C
triadic
#CCEB5C #5CCCEB #EB5CCC
tetradic
#CCEB5C #5CEBC3 #7B5CEB #EB5C85
square
#CCEB5C #5CEBC3 #7B5CEB #EB5C85
split-complementary
#CCEB5C #5C85EB #C35CEB
monochromatic
#94B616 #BBE425 #CCEB5C #DDF293 #EEF8C9

Accessibility & contrast

On white

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

On black

15.61
#CCEB5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEB5C
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEB5C#FFFFFF#000000##000000
##CCEB5C1.001.3515.6115.61
#FFFFFF1.351.0021.0021.00
#00000015.6121.001.001.00
##00000015.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE4B
Deuteranopia (green-blind)
#F5DE66
Tritanopia (blue-blind)
#D6E0CD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cceb5c;
/* rgb */ color: rgb(204, 235, 92);
/* oklch */ color: oklch(89.0% 0.171 120.4);
Tailwind
colors: {
  custom: {
    50: '#def190',
    500: '#cceb5c',
    950: '#000000',
  },
}
SCSS
$custom: #cceb5c;
$custom-light: #def190;
$custom-dark: #000000;
JSON
{
  "hex": "#cceb5c",
  "rgb": {
    "r": 204,
    "g": 235,
    "b": 92
  },
  "hsl": {
    "h": 73.007,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.89029,
    "c": 0.17055,
    "h": 120.4
  },
  "luminance": 0.73027
}

Semantic roles & 50–950 ramp

primary
#CCEB5C
secondary
#5135B6
accent
#0BDA38
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #CCEB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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