#CCF162#CCF162

#CCF162 is a very light, vivid yellow-green. Relative luminance 0.766; OKLCH L 90.4% C 0.173 H 122.2°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#CCF162
RGBrgb(204, 241, 98)
HSLhsl(76, 84%, 66%)
HSVhsv(76, 59%, 95%)
CMYKcmyk(15.4%, 0%, 59.3%, 5.5%)
CIE-LABlab(90.15, -32.08, 63.46)
CIE-LCHlch(90.15, 71.11, 116.82°)
OKLaboklab(90.41% -0.0921 0.1465)
OKLCHoklch(90.41% 0.173 122.2)
XYZxyz(58.5623, 76.6297, 23.2587)
Luminance0.7663 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF162 #8762F1
analogous
#F1CE62 #CCF162 #85F162
triadic
#CCF162 #62CCF1 #F162CC
tetradic
#CCF162 #62F1CE #8762F1 #F16285
square
#CCF162 #62F1CE #8762F1 #F16285
split-complementary
#CCF162 #6285F1 #CE62F1
monochromatic
#98C712 #BAEC2A #CCF162 #DEF69A #F1FBD2

Accessibility & contrast

On white

1.29
#CCF162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.33
#CCF162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF162
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF162#FFFFFF#000000##000000
##CCF1621.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE452
Deuteranopia (green-blind)
#F9E36C
Tritanopia (blue-blind)
#D5E6D3
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf162;
/* rgb */ color: rgb(204, 241, 98);
/* oklch */ color: oklch(90.4% 0.173 122.2);
Tailwind
colors: {
  custom: {
    50: '#def594',
    500: '#ccf162',
    950: '#000000',
  },
}
SCSS
$custom: #ccf162;
$custom-light: #def594;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf162",
  "rgb": {
    "r": 204,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 75.524,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90406,
    "c": 0.17308,
    "h": 122.2
  },
  "luminance": 0.7663
}

Semantic roles & 50–950 ramp

primary
#CCF162
secondary
#5933C4
accent
#05E03E
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170D
muted
#84857F

Preview Lab

Preview with #CCF162

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

Preview Lab → · Contrast checker → · Palette generator →

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