#CCE751#CCE751

#CCE751 is a very light, vivid yellow-green. Relative luminance 0.706; OKLCH L 88.1% C 0.174 H 118.9°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#CCE751
RGBrgb(204, 231, 81)
HSLhsl(71, 76%, 61%)
HSVhsv(71, 65%, 91%)
CMYKcmyk(11.7%, 0%, 64.9%, 9.4%)
CIE-LABlab(87.28, -28.62, 67.28)
CIE-LCHlch(87.28, 73.11, 113.04°)
OKLaboklab(88.05% -0.0841 0.1524)
OKLCHoklch(88.05% 0.174 118.9)
XYZxyz(54.9639, 70.5837, 18.5115)
Luminance0.7058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE751 #6C51E7
analogous
#E7B751 #CCE751 #81E751
triadic
#CCE751 #51CCE7 #E751CC
tetradic
#CCE751 #51E7B7 #6C51E7 #E75181
square
#CCE751 #51E7B7 #6C51E7 #E75181
split-complementary
#CCE751 #5181E7 #B751E7
monochromatic
#8DA717 #BADC1E #CCE751 #DCEE87 #ECF6BD

Accessibility & contrast

On white

1.39
#CCE751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.12
#CCE751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE751
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE751#FFFFFF#000000##000000
##CCE7511.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB3C
Deuteranopia (green-blind)
#F2DB5C
Tritanopia (blue-blind)
#D7DBC8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #cce751;
/* rgb */ color: rgb(204, 231, 81);
/* oklch */ color: oklch(88.1% 0.174 118.9);
Tailwind
colors: {
  custom: {
    50: '#dfee89',
    500: '#cce751',
    950: '#000000',
  },
}
SCSS
$custom: #cce751;
$custom-light: #dfee89;
$custom-dark: #000000;
JSON
{
  "hex": "#cce751",
  "rgb": {
    "r": 204,
    "g": 231,
    "b": 81
  },
  "hsl": {
    "h": 70.8,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.88054,
    "c": 0.17405,
    "h": 118.9
  },
  "luminance": 0.70583
}

Semantic roles & 50–950 ramp

primary
#CCE751
secondary
#4934A8
accent
#0ED832
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16160C
muted
#84857F

Preview Lab

Preview with #CCE751

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

Preview Lab → · Contrast checker → · Palette generator →

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