#CCF262#CCF262

#CCF262 is a very light, vivid yellow-green. Relative luminance 0.772; OKLCH L 90.6% C 0.174 H 122.4°. Best body text is #000000 at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#CCF262
RGBrgb(204, 242, 98)
HSLhsl(76, 85%, 67%)
HSVhsv(76, 60%, 95%)
CMYKcmyk(15.7%, 0%, 59.5%, 5.1%)
CIE-LABlab(90.42, -32.54, 63.76)
CIE-LCHlch(90.42, 71.59, 117.04°)
OKLaboklab(90.63% -0.0934 0.1472)
OKLCHoklch(90.63% 0.174 122.4)
XYZxyz(58.8591, 77.2233, 23.3577)
Luminance0.7722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF262 #8862F2
analogous
#F2D062 #CCF262 #84F262
triadic
#CCF262 #62CCF2 #F262CC
tetradic
#CCF262 #62F2D0 #8862F2 #F26284
square
#CCF262 #62F2D0 #8862F2 #F26284
split-complementary
#CCF262 #6284F2 #D062F2
monochromatic
#98C911 #BAED29 #CCF262 #DEF79B #F1FBD3

Accessibility & contrast

On white

1.28
#CCF262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.44
#CCF262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF262
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF262#FFFFFF#000000##000000
##CCF2621.001.2816.4416.44
#FFFFFF1.281.0021.0021.00
#00000016.4421.001.001.00
##00000016.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE452
Deuteranopia (green-blind)
#FAE46C
Tritanopia (blue-blind)
#D5E7D3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ccf262;
/* rgb */ color: rgb(204, 242, 98);
/* oklch */ color: oklch(90.6% 0.174 122.4);
Tailwind
colors: {
  custom: {
    50: '#def694',
    500: '#ccf262',
    950: '#000000',
  },
}
SCSS
$custom: #ccf262;
$custom-light: #def694;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf262",
  "rgb": {
    "r": 204,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 75.833,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.90627,
    "c": 0.17431,
    "h": 122.4
  },
  "luminance": 0.77223
}

Semantic roles & 50–950 ramp

primary
#CCF262
secondary
#5933C6
accent
#04E13F
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170D
muted
#84857F

Preview Lab

Preview with #CCF262

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

Preview Lab → · Contrast checker → · Palette generator →

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