#CCF97B#CCF97B

#CCF97B is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.4% C 0.161 H 125.7°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#CCF97B
RGBrgb(204, 249, 123)
HSLhsl(81, 91%, 73%)
HSVhsv(81, 51%, 98%)
CMYKcmyk(18.1%, 0%, 50.6%, 2.4%)
CIE-LABlab(92.58, -33.58, 55.24)
CIE-LCHlch(92.58, 64.65, 121.29°)
OKLaboklab(92.45% -0.0942 0.1312)
OKLCHoklch(92.45% 0.161 125.7)
XYZxyz(62.3526, 82.0182, 31.2812)
Luminance0.8202 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF97B #A87BF9
analogous
#F9E77B #CCF97B #8DF97B
triadic
#CCF97B #7BCCF9 #F97BCC
tetradic
#CCF97B #7BF9E7 #A87BF9 #F97B8D
square
#CCF97B #7BF9E7 #A87BF9 #F97B8D
split-complementary
#CCF97B #7B8DF9 #E77BF9
monochromatic
#9DEF0B #B5F640 #CCF97B #E3FCB6 #F4FEE2

Accessibility & contrast

On white

1.21
#CCF97B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.40
#CCF97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF97B
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF97B#FFFFFF#000000##000000
##CCF97B1.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6F
Deuteranopia (green-blind)
#FEE983
Tritanopia (blue-blind)
#D3EFDC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccf97b;
/* rgb */ color: rgb(204, 249, 123);
/* oklch */ color: oklch(92.4% 0.161 125.7);
Tailwind
colors: {
  custom: {
    50: '#defba4',
    500: '#ccf97b',
    950: '#000000',
  },
}
SCSS
$custom: #ccf97b;
$custom-light: #defba4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf97b",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 81.429,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92445,
    "c": 0.16148,
    "h": 125.7
  },
  "luminance": 0.82019
}

Semantic roles & 50–950 ramp

primary
#CCF97B
secondary
#7743D6
accent
#00E652
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF97B

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

Preview Lab → · Contrast checker → · Palette generator →

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