#CCEB8A#CCEB8A

#CCEB8A is a very light, vivid yellow-green. Relative luminance 0.741; OKLCH L 89.6% C 0.127 H 123.4°. Best body text is #000000 at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#CCEB8A
RGBrgb(204, 235, 138)
HSLhsl(79, 71%, 73%)
HSVhsv(79, 41%, 92%)
CMYKcmyk(13.2%, 0%, 41.3%, 7.8%)
CIE-LABlab(88.96, -25.44, 43.68)
CIE-LCHlch(88.96, 50.55, 120.21°)
OKLaboklab(89.6% -0.0702 0.1064)
OKLCHoklch(89.6% 0.127 123.4)
XYZxyz(59.1974, 74.0888, 35.2217)
Luminance0.7409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEB8A #A98AEB
analogous
#EBD98A #CCEB8A #9BEB8A
triadic
#CCEB8A #8ACCEB #EB8ACC
tetradic
#CCEB8A #8AEBD9 #A98AEB #EB8A9B
square
#CCEB8A #8AEBD9 #A98AEB #EB8A9B
split-complementary
#CCEB8A #8A9BEB #D98AEB
monochromatic
#9DD625 #B5E256 #CCEB8A #E3F4BE #F4FBE5

Accessibility & contrast

On white

1.33
#CCEB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.82
#CCEB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEB8A
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEB8A#FFFFFF#000000##000000
##CCEB8A1.001.3315.8215.82
#FFFFFF1.331.0021.0021.00
#00000015.8221.001.001.00
##00000015.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E082
Deuteranopia (green-blind)
#F1DF8F
Tritanopia (blue-blind)
#D3E2D3
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cceb8a;
/* rgb */ color: rgb(204, 235, 138);
/* oklch */ color: oklch(89.6% 0.127 123.4);
Tailwind
colors: {
  custom: {
    50: '#ddf1ad',
    500: '#cceb8a',
    950: '#000000',
  },
}
SCSS
$custom: #cceb8a;
$custom-light: #ddf1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cceb8a",
  "rgb": {
    "r": 204,
    "g": 235,
    "b": 138
  },
  "hsl": {
    "h": 79.175,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.89597,
    "c": 0.12748,
    "h": 123.4
  },
  "luminance": 0.74089
}

Semantic roles & 50–950 ramp

primary
#CCEB8A
secondary
#7854C5
accent
#13D350
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CCEB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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