#CCF161#CCF161

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

Color values

HEX#CCF161
RGBrgb(204, 241, 97)
HSLhsl(75, 84%, 66%)
HSVhsv(75, 60%, 95%)
CMYKcmyk(15.4%, 0%, 59.8%, 5.5%)
CIE-LABlab(90.14, -32.16, 63.87)
CIE-LCHlch(90.14, 71.51, 116.72°)
OKLaboklab(90.4% -0.0924 0.1473)
OKLCHoklch(90.4% 0.174 122.1)
XYZxyz(58.5154, 76.6109, 23.0116)
Luminance0.7661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCF161 #8661F1
analogous
#F1CE61 #CCF161 #84F161
triadic
#CCF161 #61CCF1 #F161CC
tetradic
#CCF161 #61F1CE #8661F1 #F16184
square
#CCF161 #61F1CE #8661F1 #F16184
split-complementary
#CCF161 #6184F1 #CE61F1
monochromatic
#98C612 #BAEC29 #CCF161 #DEF699 #F0FBD1

Accessibility & contrast

On white

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

On black

16.32
#CCF161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCF161
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCF161#FFFFFF#000000##000000
##CCF1611.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE450
Deuteranopia (green-blind)
#F9E36B
Tritanopia (blue-blind)
#D6E6D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ccf161;
/* rgb */ color: rgb(204, 241, 97);
/* oklch */ color: oklch(90.4% 0.174 122.1);
Tailwind
colors: {
  custom: {
    50: '#def593',
    500: '#ccf161',
    950: '#000000',
  },
}
SCSS
$custom: #ccf161;
$custom-light: #def593;
$custom-dark: #000000;
JSON
{
  "hex": "#ccf161",
  "rgb": {
    "r": 204,
    "g": 241,
    "b": 97
  },
  "hsl": {
    "h": 75.417,
    "s": 83.721,
    "l": 66.275
  },
  "oklch": {
    "l": 0.90397,
    "c": 0.17388,
    "h": 122.1
  },
  "luminance": 0.76611
}

Semantic roles & 50–950 ramp

primary
#CCF161
secondary
#5833C3
accent
#05E03E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CCF161

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

Preview Lab → · Contrast checker → · Palette generator →

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