#CCE985#CCE985

#CCE985 is a very light, vivid yellow-green. Relative luminance 0.728; OKLCH L 89.1% C 0.130 H 122.3°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#CCE985
RGBrgb(204, 233, 133)
HSLhsl(77, 69%, 72%)
HSVhsv(77, 43%, 91%)
CMYKcmyk(12.4%, 0%, 42.9%, 8.6%)
CIE-LABlab(88.36, -25.05, 45.35)
CIE-LCHlch(88.36, 51.81, 118.91°)
OKLaboklab(89.09% -0.0695 0.1099)
OKLCHoklch(89.09% 0.13 122.3)
XYZxyz(58.2744, 72.8086, 33.1692)
Luminance0.7281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCE985 #A285E9
analogous
#E9D485 #CCE985 #9AE985
triadic
#CCE985 #85CCE9 #E985CC
tetradic
#CCE985 #85E9D4 #A285E9 #E9859A
square
#CCE985 #85E9D4 #A285E9 #E9859A
split-complementary
#CCE985 #859AE9 #D485E9
monochromatic
#9DCE25 #B6E051 #CCE985 #E2F2B9 #F4FAE5

Accessibility & contrast

On white

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

On black

15.56
#CCE985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCE985
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCE985#FFFFFF#000000##000000
##CCE9851.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE7D
Deuteranopia (green-blind)
#F0DE8A
Tritanopia (blue-blind)
#D3E0D1
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #cce985;
/* rgb */ color: rgb(204, 233, 133);
/* oklch */ color: oklch(89.1% 0.130 122.3);
Tailwind
colors: {
  custom: {
    50: '#ddf0aa',
    500: '#cce985',
    950: '#000000',
  },
}
SCSS
$custom: #cce985;
$custom-light: #ddf0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cce985",
  "rgb": {
    "r": 204,
    "g": 233,
    "b": 133
  },
  "hsl": {
    "h": 77.4,
    "s": 69.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.89088,
    "c": 0.13002,
    "h": 122.3
  },
  "luminance": 0.72809
}

Semantic roles & 50–950 ramp

primary
#CCE985
secondary
#7150C2
accent
#14D14B
background
#FEFFFD
surface
#FCFEF7
border
#D5D6D0
text
#151610
muted
#848581

Preview Lab

Preview with #CCE985

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

Preview Lab → · Contrast checker → · Palette generator →

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