#CCE281#CCE281

#CCE281 is a very light, vivid yellow-green. Relative luminance 0.688; OKLCH L 87.5% C 0.125 H 119.5°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#CCE281
RGBrgb(204, 226, 129)
HSLhsl(74, 63%, 70%)
HSVhsv(74, 43%, 89%)
CMYKcmyk(9.7%, 0%, 42.9%, 11.4%)
CIE-LABlab(86.41, -22.11, 44.87)
CIE-LCHlch(86.41, 50.02, 116.24°)
OKLaboklab(87.51% -0.0615 0.1086)
OKLCHoklch(87.51% 0.125 119.5)
XYZxyz(56.0609, 68.8153, 31.0939)
Luminance0.6882 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE281 #9781E2
analogous
#E2C881 #CCE281 #9CE281
triadic
#CCE281 #81CCE2 #E281CC
tetradic
#CCE281 #81E2C8 #9781E2 #E2819C
square
#CCE281 #81E2C8 #9781E2 #E2819C
split-complementary
#CCE281 #819CE2 #C881E2
monochromatic
#9CBD2C #B8D74F #CCE281 #E0EDB3 #F4F9E4

Accessibility & contrast

On white

1.42
#CCE281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.76
#CCE281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE281
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE281#FFFFFF#000000##000000
##CCE2811.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD879
Deuteranopia (green-blind)
#EAD986
Tritanopia (blue-blind)
#D4D9CB
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #cce281;
/* rgb */ color: rgb(204, 226, 129);
/* oklch */ color: oklch(87.5% 0.125 119.5);
Tailwind
colors: {
  custom: {
    50: '#ddeba7',
    500: '#cce281',
    950: '#000000',
  },
}
SCSS
$custom: #cce281;
$custom-light: #ddeba7;
$custom-dark: #000000;
JSON
{
  "hex": "#cce281",
  "rgb": {
    "r": 204,
    "g": 226,
    "b": 129
  },
  "hsl": {
    "h": 73.608,
    "s": 62.581,
    "l": 69.608
  },
  "oklch": {
    "l": 0.87514,
    "c": 0.12479,
    "h": 119.5
  },
  "luminance": 0.68815
}

Semantic roles & 50–950 ramp

primary
#CCE281
secondary
#664EBA
accent
#1BCA43
background
#FEFEFC
surface
#FCFDF6
border
#D5D5D0
text
#15160F
muted
#848480

Preview Lab

Preview with #CCE281

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

Preview Lab → · Contrast checker → · Palette generator →

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