#CCF98F#CCF98F

#CCF98F is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.7% C 0.142 H 127.7°. Best body text is #000000 at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#CCF98F
RGBrgb(204, 249, 143)
HSLhsl(85, 90%, 77%)
HSVhsv(85, 43%, 98%)
CMYKcmyk(18.1%, 0%, 42.6%, 2.4%)
CIE-LABlab(92.83, -31.44, 46.13)
CIE-LCHlch(92.83, 55.83, 124.28°)
OKLaboklab(92.72% -0.0868 0.1122)
OKLCHoklch(92.72% 0.142 127.7)
XYZxyz(63.7349, 82.5711, 38.5613)
Luminance0.8257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF98F #BC8FF9
analogous
#F9F18F #CCF98F #97F98F
triadic
#CCF98F #8FCCF9 #F98FCC
tetradic
#CCF98F #8FF9F1 #BC8FF9 #F98F97
square
#CCF98F #8FF9F1 #BC8FF9 #F98F97
split-complementary
#CCF98F #8F97F9 #F18FF9
monochromatic
#97F31B #B2F655 #CCF98F #E6FCC9 #F2FDE2

Accessibility & contrast

On white

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

On black

17.51
#CCF98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF98F
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF98F#FFFFFF#000000##000000
##CCF98F1.001.2017.5117.51
#FFFFFF1.201.0021.0021.00
#00000017.5121.001.001.00
##00000017.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC87
Deuteranopia (green-blind)
#FCEA95
Tritanopia (blue-blind)
#D1F0DF
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccf98f;
/* rgb */ color: rgb(204, 249, 143);
/* oklch */ color: oklch(92.7% 0.142 127.7);
Tailwind
colors: {
  custom: {
    50: '#ddfbb1',
    500: '#ccf98f',
    950: '#000000',
  },
}
SCSS
$custom: #ccf98f;
$custom-light: #ddfbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf98f",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 143
  },
  "hsl": {
    "h": 85.472,
    "s": 89.831,
    "l": 76.863
  },
  "oklch": {
    "l": 0.9272,
    "c": 0.14183,
    "h": 127.7
  },
  "luminance": 0.82572
}

Semantic roles & 50–950 ramp

primary
#CCF98F
secondary
#8C54D8
accent
#00E661
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF98F

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

Preview Lab → · Contrast checker → · Palette generator →

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