#CCEB5F#CCEB5F

#CCEB5F is a very light, vivid yellow-green. Relative luminance 0.731; OKLCH L 89.1% C 0.168 H 120.5°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#CCEB5F
RGBrgb(204, 235, 95)
HSLhsl(73, 78%, 65%)
HSVhsv(73, 60%, 92%)
CMYKcmyk(13.2%, 0%, 59.6%, 7.8%)
CIE-LABlab(88.49, -29.52, 62.89)
CIE-LCHlch(88.49, 69.47, 115.15°)
OKLaboklab(89.06% -0.0853 0.1449)
OKLCHoklch(89.06% 0.168 120.5)
XYZxyz(56.6764, 73.0804, 21.9444)
Luminance0.7308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEB5F #7E5FEB
analogous
#EBC45F #CCEB5F #86EB5F
triadic
#CCEB5F #5FCCEB #EB5FCC
tetradic
#CCEB5F #5FEBC4 #7E5FEB #EB5F86
square
#CCEB5F #5FEBC4 #7E5FEB #EB5F86
split-complementary
#CCEB5F #5F86EB #C45FEB
monochromatic
#95B917 #BBE429 #CCEB5F #DDF295 #EFF9CC

Accessibility & contrast

On white

1.34
#CCEB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.62
#CCEB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEB5F
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEB5F#FFFFFF#000000##000000
##CCEB5F1.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cceb5f;
/* rgb */ color: rgb(204, 235, 95);
/* oklch */ color: oklch(89.1% 0.168 120.5);
Tailwind
colors: {
  custom: {
    50: '#def192',
    500: '#cceb5f',
    950: '#000000',
  },
}
SCSS
$custom: #cceb5f;
$custom-light: #def192;
$custom-dark: #000000;
JSON
{
  "hex": "#cceb5f",
  "rgb": {
    "r": 204,
    "g": 235,
    "b": 95
  },
  "hsl": {
    "h": 73.286,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.89058,
    "c": 0.16817,
    "h": 120.5
  },
  "luminance": 0.7308
}

Semantic roles & 50–950 ramp

primary
#CCEB5F
secondary
#5336B8
accent
#0BDA39
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15160D
muted
#84857F

Preview Lab

Preview with #CCEB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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