#CCF97A#CCF97A

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

Color values

HEX#CCF97A
RGBrgb(204, 249, 122)
HSLhsl(81, 91%, 73%)
HSVhsv(81, 51%, 98%)
CMYKcmyk(18.1%, 0%, 51%, 2.4%)
CIE-LABlab(92.57, -33.67, 55.69)
CIE-LCHlch(92.57, 65.08, 121.16°)
OKLaboklab(92.43% -0.0945 0.1321)
OKLCHoklch(92.43% 0.162 125.6)
XYZxyz(62.2903, 81.9933, 30.9532)
Luminance0.8199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF97A #A77AF9
analogous
#F9E77A #CCF97A #8CF97A
triadic
#CCF97A #7ACCF9 #F97ACC
tetradic
#CCF97A #7AF9E7 #A77AF9 #F97A8C
square
#CCF97A #7AF9E7 #A77AF9 #F97A8C
split-complementary
#CCF97A #7A8CF9 #E77AF9
monochromatic
#9DEE0B #B6F63F #CCF97A #E2FCB5 #F4FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCF97A#FFFFFF#000000##000000
##CCF97A1.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)
#FFEB6E
Deuteranopia (green-blind)
#FEE982
Tritanopia (blue-blind)
#D3EFDC
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ccf97a;
/* rgb */ color: rgb(204, 249, 122);
/* oklch */ color: oklch(92.4% 0.162 125.6);
Tailwind
colors: {
  custom: {
    50: '#defba3',
    500: '#ccf97a',
    950: '#000000',
  },
}
SCSS
$custom: #ccf97a;
$custom-light: #defba3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf97a",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 81.26,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92433,
    "c": 0.16241,
    "h": 125.6
  },
  "luminance": 0.81994
}

Semantic roles & 50–950 ramp

primary
#CCF97A
secondary
#7642D5
accent
#00E651
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CCF97A

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

Preview Lab → · Contrast checker → · Palette generator →

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