#CCF962#CCF962

#CCF962 is a very light, vivid yellow-green. Relative luminance 0.815; OKLCH L 92.2% C 0.183 H 124.0°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#CCF962
RGBrgb(204, 249, 98)
HSLhsl(78, 93%, 68%)
HSVhsv(78, 61%, 98%)
CMYKcmyk(18.1%, 0%, 60.6%, 2.4%)
CIE-LABlab(92.34, -35.74, 65.87)
CIE-LCHlch(92.34, 74.94, 118.48°)
OKLaboklab(92.17% -0.1023 0.1516)
OKLCHoklch(92.17% 0.183 124)
XYZxyz(60.9825, 81.4701, 24.0655)
Luminance0.8147 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF962 #8F62F9
analogous
#F9DB62 #CCF962 #80F962
triadic
#CCF962 #62CCF9 #F962CC
tetradic
#CCF962 #62F9DB #8F62F9 #F96280
square
#CCF962 #62F9DB #8F62F9 #F96280
split-complementary
#CCF962 #6280F9 #DB62F9
monochromatic
#9AD808 #B9F727 #CCF962 #DFFB9D #F2FED8

Accessibility & contrast

On white

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

On black

17.29
#CCF962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF962
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF962#FFFFFF#000000##000000
##CCF9621.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA50
Deuteranopia (green-blind)
#FFE96D
Tritanopia (blue-blind)
#D5EED9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ccf962;
/* rgb */ color: rgb(204, 249, 98);
/* oklch */ color: oklch(92.2% 0.183 124.0);
Tailwind
colors: {
  custom: {
    50: '#dffb94',
    500: '#ccf962',
    950: '#000000',
  },
}
SCSS
$custom: #ccf962;
$custom-light: #dffb94;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf962",
  "rgb": {
    "r": 204,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 77.881,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.92171,
    "c": 0.18292,
    "h": 124
  },
  "luminance": 0.81471
}

Semantic roles & 50–950 ramp

primary
#CCF962
secondary
#5E2DD2
accent
#00E644
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CCF962

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

Preview Lab → · Contrast checker → · Palette generator →

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