#CCEB51#CCEB51

#CCEB51 is a very light, vivid yellow-green. Relative luminance 0.728; OKLCH L 88.9% C 0.179 H 120.0°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#CCEB51
RGBrgb(204, 235, 81)
HSLhsl(72, 79%, 62%)
HSVhsv(72, 66%, 92%)
CMYKcmyk(13.2%, 0%, 65.5%, 7.8%)
CIE-LABlab(88.38, -30.49, 68.41)
CIE-LCHlch(88.38, 74.90, 114.02°)
OKLaboklab(88.93% -0.0893 0.1548)
OKLCHoklch(88.93% 0.179 120)
XYZxyz(56.0963, 72.8483, 18.8889)
Luminance0.7285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCEB51 #7051EB
analogous
#EBBD51 #CCEB51 #7FEB51
triadic
#CCEB51 #51CCEB #EB51CC
tetradic
#CCEB51 #51EBBD #7051EB #EB517F
square
#CCEB51 #51EBBD #7051EB #EB517F
split-complementary
#CCEB51 #517FEB #BD51EB
monochromatic
#8FAE14 #BCE51A #CCEB51 #DCF188 #ECF8BF

Accessibility & contrast

On white

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

On black

15.57
#CCEB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCEB51
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCEB51#FFFFFF#000000##000000
##CCEB511.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE3B
Deuteranopia (green-blind)
#F6DE5D
Tritanopia (blue-blind)
#D7DFCC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cceb51;
/* rgb */ color: rgb(204, 235, 81);
/* oklch */ color: oklch(88.9% 0.179 120.0);
Tailwind
colors: {
  custom: {
    50: '#dff189',
    500: '#cceb51',
    950: '#000000',
  },
}
SCSS
$custom: #cceb51;
$custom-light: #dff189;
$custom-dark: #000000;
JSON
{
  "hex": "#cceb51",
  "rgb": {
    "r": 204,
    "g": 235,
    "b": 81
  },
  "hsl": {
    "h": 72.078,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.88933,
    "c": 0.1787,
    "h": 120
  },
  "luminance": 0.72848
}

Semantic roles & 50–950 ramp

primary
#CCEB51
secondary
#4B32AE
accent
#0ADC34
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CCEB51

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

Preview Lab → · Contrast checker → · Palette generator →

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