#CFF162#CFF162

#CFF162 is a very light, vivid yellow-green. Relative luminance 0.771; OKLCH L 90.6% C 0.172 H 121.2°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#CFF162
RGBrgb(207, 241, 98)
HSLhsl(74, 84%, 66%)
HSVhsv(74, 59%, 95%)
CMYKcmyk(14.1%, 0%, 59.3%, 5.5%)
CIE-LABlab(90.35, -30.93, 63.74)
CIE-LCHlch(90.35, 70.85, 115.89°)
OKLaboklab(90.62% -0.0891 0.147)
OKLCHoklch(90.62% 0.172 121.2)
XYZxyz(59.3927, 77.0579, 23.2977)
Luminance0.7706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF162 #8462F1
analogous
#F1CC62 #CFF162 #88F162
triadic
#CFF162 #62CFF1 #F162CF
tetradic
#CFF162 #62F1CC #8462F1 #F16288
square
#CFF162 #62F1CC #8462F1 #F16288
split-complementary
#CFF162 #6288F1 #CC62F1
monochromatic
#9CC712 #BEEC2A #CFF162 #E0F69A #F1FBD2

Accessibility & contrast

On white

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

On black

16.41
#CFF162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF162
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF162#FFFFFF#000000##000000
##CFF1621.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cff162;
/* rgb */ color: rgb(207, 241, 98);
/* oklch */ color: oklch(90.6% 0.172 121.2);
Tailwind
colors: {
  custom: {
    50: '#e0f594',
    500: '#cff162',
    950: '#000000',
  },
}
SCSS
$custom: #cff162;
$custom-light: #e0f594;
$custom-dark: #000000;
JSON
{
  "hex": "#cff162",
  "rgb": {
    "r": 207,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 74.266,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90615,
    "c": 0.17194,
    "h": 121.2
  },
  "luminance": 0.77058
}

Semantic roles & 50–950 ramp

primary
#CFF162
secondary
#5633C4
accent
#05E039
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170D
muted
#84857F

Preview Lab

Preview with #CFF162

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

Preview Lab → · Contrast checker → · Palette generator →

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