#CCEB79#CCEB79

#CCEB79 is a very light, vivid yellow-green. Relative luminance 0.736; OKLCH L 89.4% C 0.145 H 121.9°. Best body text is #000000 at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#CCEB79
RGBrgb(204, 235, 121)
HSLhsl(76, 74%, 70%)
HSVhsv(76, 49%, 92%)
CMYKcmyk(13.2%, 0%, 48.5%, 7.8%)
CIE-LABlab(88.75, -27.26, 51.57)
CIE-LCHlch(88.75, 58.33, 117.86°)
OKLaboklab(89.35% -0.0766 0.123)
OKLCHoklch(89.35% 0.145 121.9)
XYZxyz(58.0616, 73.6345, 29.2395)
Luminance0.7363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEB79 #9879EB
analogous
#EBD179 #CCEB79 #93EB79
triadic
#CCEB79 #79CCEB #EB79CC
tetradic
#CCEB79 #79EBD1 #9879EB #EB7993
square
#CCEB79 #79EBD1 #9879EB #EB7993
split-complementary
#CCEB79 #7993EB #D179EB
monochromatic
#9CCB1E #B8E344 #CCEB79 #E0F3AE #F5FBE4

Accessibility & contrast

On white

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

On black

15.73
#CCEB79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEB79
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEB79#FFFFFF#000000##000000
##CCEB791.001.3415.7315.73
#FFFFFF1.341.0021.0021.00
#00000015.7321.001.001.00
##00000015.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF6F
Deuteranopia (green-blind)
#F3DF7F
Tritanopia (blue-blind)
#D4E1D1
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #cceb79;
/* rgb */ color: rgb(204, 235, 121);
/* oklch */ color: oklch(89.4% 0.145 121.9);
Tailwind
colors: {
  custom: {
    50: '#ddf1a2',
    500: '#cceb79',
    950: '#000000',
  },
}
SCSS
$custom: #cceb79;
$custom-light: #ddf1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cceb79",
  "rgb": {
    "r": 204,
    "g": 235,
    "b": 121
  },
  "hsl": {
    "h": 76.316,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.89355,
    "c": 0.14489,
    "h": 121.9
  },
  "luminance": 0.73635
}

Semantic roles & 50–950 ramp

primary
#CCEB79
secondary
#6744C4
accent
#0FD645
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15160F
muted
#848580

Preview Lab

Preview with #CCEB79

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

Preview Lab → · Contrast checker → · Palette generator →

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