#CCF985#CCF985

#CCF985 is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.6% C 0.152 H 126.6°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#CCF985
RGBrgb(204, 249, 133)
HSLhsl(83, 91%, 75%)
HSVhsv(83, 47%, 98%)
CMYKcmyk(18.1%, 0%, 46.6%, 2.4%)
CIE-LABlab(92.70, -32.55, 50.74)
CIE-LCHlch(92.70, 60.28, 122.69°)
OKLaboklab(92.58% -0.0906 0.122)
OKLCHoklch(92.58% 0.152 126.6)
XYZxyz(63.0108, 82.2815, 34.7480)
Luminance0.8228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF985 #B285F9
analogous
#F9EC85 #CCF985 #92F985
triadic
#CCF985 #85CCF9 #F985CC
tetradic
#CCF985 #85F9EC #B285F9 #F98592
square
#CCF985 #85F9EC #B285F9 #F98592
split-complementary
#CCF985 #8592F9 #EC85F9
monochromatic
#9BF310 #B4F64B #CCF985 #E4FCBF #F3FEE2

Accessibility & contrast

On white

1.20
#CCF985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#CCF985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF985
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF985#FFFFFF#000000##000000
##CCF9851.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7B
Deuteranopia (green-blind)
#FDE98C
Tritanopia (blue-blind)
#D2F0DE
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccf985;
/* rgb */ color: rgb(204, 249, 133);
/* oklch */ color: oklch(92.6% 0.152 126.6);
Tailwind
colors: {
  custom: {
    50: '#ddfbaa',
    500: '#ccf985',
    950: '#000000',
  },
}
SCSS
$custom: #ccf985;
$custom-light: #ddfbaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf985",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 133
  },
  "hsl": {
    "h": 83.276,
    "s": 90.625,
    "l": 74.902
  },
  "oklch": {
    "l": 0.92576,
    "c": 0.1519,
    "h": 126.6
  },
  "luminance": 0.82282
}

Semantic roles & 50–950 ramp

primary
#CCF985
secondary
#814BD7
accent
#00E659
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#151710
muted
#848581

Preview Lab

Preview with #CCF985

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

Preview Lab → · Contrast checker → · Palette generator →

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