#CCF398#CCF398

#CCF398 is a very light, vivid yellow-green. Relative luminance 0.792; OKLCH L 91.6% C 0.124 H 127.6°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#CCF398
RGBrgb(204, 243, 152)
HSLhsl(86, 79%, 77%)
HSVhsv(86, 37%, 95%)
CMYKcmyk(16%, 0%, 37.4%, 4.7%)
CIE-LABlab(91.33, -27.55, 39.82)
CIE-LCHlch(91.33, 48.42, 124.67°)
OKLaboklab(91.56% -0.0754 0.0981)
OKLCHoklch(91.56% 0.124 127.6)
XYZxyz(62.6192, 79.2049, 41.6887)
Luminance0.7921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF398 #BF98F3
analogous
#F3EC98 #CCF398 #9FF398
triadic
#CCF398 #98CCF3 #F398CC
tetradic
#CCF398 #98F3EC #BF98F3 #F3989F
square
#CCF398 #98F3EC #BF98F3 #F3989F
split-complementary
#CCF398 #989FF3 #EC98F3
monochromatic
#96E62A #B1ED61 #CCF398 #E7F9CF #F1FCE4

Accessibility & contrast

On white

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

On black

16.84
#CCF398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF398
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF398#FFFFFF#000000##000000
##CCF3981.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccf398;
/* rgb */ color: rgb(204, 243, 152);
/* oklch */ color: oklch(91.6% 0.124 127.6);
Tailwind
colors: {
  custom: {
    50: '#dcf7b7',
    500: '#ccf398',
    950: '#000000',
  },
}
SCSS
$custom: #ccf398;
$custom-light: #dcf7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf398",
  "rgb": {
    "r": 204,
    "g": 243,
    "b": 152
  },
  "hsl": {
    "h": 85.714,
    "s": 79.13,
    "l": 77.451
  },
  "oklch": {
    "l": 0.91557,
    "c": 0.12375,
    "h": 127.6
  },
  "luminance": 0.79206
}

Semantic roles & 50–950 ramp

primary
#CCF398
secondary
#8F5ED1
accent
#0ADB64
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151711
muted
#848581

Preview Lab

Preview with #CCF398

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

Preview Lab → · Contrast checker → · Palette generator →

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