#CCF397#CCF397

#CCF397 is a very light, vivid yellow-green. Relative luminance 0.792; OKLCH L 91.5% C 0.125 H 127.4°. Best body text is #000000 at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#CCF397
RGBrgb(204, 243, 151)
HSLhsl(85, 79%, 77%)
HSVhsv(85, 38%, 95%)
CMYKcmyk(16%, 0%, 37.9%, 4.7%)
CIE-LABlab(91.31, -27.67, 40.29)
CIE-LCHlch(91.31, 48.88, 124.48°)
OKLaboklab(91.54% -0.0758 0.0992)
OKLCHoklch(91.54% 0.125 127.4)
XYZxyz(62.5377, 79.1723, 41.2592)
Luminance0.7917 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF397 #BE97F3
analogous
#F3EC97 #CCF397 #9EF397
triadic
#CCF397 #97CCF3 #F397CC
tetradic
#CCF397 #97F3EC #BE97F3 #F3979E
square
#CCF397 #97F3EC #BE97F3 #F3979E
split-complementary
#CCF397 #979EF3 #EC97F3
monochromatic
#96E629 #B1ED60 #CCF397 #E7F9CE #F2FCE4

Accessibility & contrast

On white

1.25
#CCF397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.83
#CCF397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF397
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF397#FFFFFF#000000##000000
##CCF3971.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE890
Deuteranopia (green-blind)
#F6E59C
Tritanopia (blue-blind)
#D0EBDC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ccf397;
/* rgb */ color: rgb(204, 243, 151);
/* oklch */ color: oklch(91.5% 0.125 127.4);
Tailwind
colors: {
  custom: {
    50: '#ddf7b6',
    500: '#ccf397',
    950: '#000000',
  },
}
SCSS
$custom: #ccf397;
$custom-light: #ddf7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf397",
  "rgb": {
    "r": 204,
    "g": 243,
    "b": 151
  },
  "hsl": {
    "h": 85.435,
    "s": 79.31,
    "l": 77.255
  },
  "oklch": {
    "l": 0.9154,
    "c": 0.12483,
    "h": 127.4
  },
  "luminance": 0.79173
}

Semantic roles & 50–950 ramp

primary
#CCF397
secondary
#8E5DD1
accent
#0ADC63
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF397

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

Preview Lab → · Contrast checker → · Palette generator →

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