#CFF172#CFF172

#CFF172 is a very light, vivid yellow-green. Relative luminance 0.774; OKLCH L 90.8% C 0.158 H 122.1°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#CFF172
RGBrgb(207, 241, 114)
HSLhsl(76, 82%, 70%)
HSVhsv(76, 53%, 95%)
CMYKcmyk(14.1%, 0%, 52.7%, 5.5%)
CIE-LABlab(90.50, -29.60, 56.92)
CIE-LCHlch(90.50, 64.16, 117.48°)
OKLaboklab(90.79% -0.0839 0.1341)
OKLCHoklch(90.79% 0.158 122.1)
XYZxyz(60.2251, 77.3908, 27.6815)
Luminance0.7739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF172 #9472F1
analogous
#F1D472 #CFF172 #90F172
triadic
#CFF172 #72CFF1 #F172CF
tetradic
#CFF172 #72F1D4 #9472F1 #F17290
square
#CFF172 #72F1D4 #9472F1 #F17290
split-complementary
#CFF172 #7290F1 #D472F1
monochromatic
#A1D415 #BCEB3A #CFF172 #E2F7AA #F5FCE1

Accessibility & contrast

On white

1.27
#CFF172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#CFF172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF172
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF172#FFFFFF#000000##000000
##CFF1721.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE566
Deuteranopia (green-blind)
#F9E47A
Tritanopia (blue-blind)
#D8E6D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cff172;
/* rgb */ color: rgb(207, 241, 114);
/* oklch */ color: oklch(90.8% 0.158 122.1);
Tailwind
colors: {
  custom: {
    50: '#e0f59e',
    500: '#cff172',
    950: '#000000',
  },
}
SCSS
$custom: #cff172;
$custom-light: #e0f59e;
$custom-dark: #000000;
JSON
{
  "hex": "#cff172",
  "rgb": {
    "r": 207,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 76.063,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90788,
    "c": 0.15818,
    "h": 122.1
  },
  "luminance": 0.77391
}

Semantic roles & 50–950 ramp

primary
#CFF172
secondary
#633DCA
accent
#07DE41
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CFF172

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

Preview Lab → · Contrast checker → · Palette generator →

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