#CFFA72#CFFA72

#CFFA72 is a very light, vivid yellow-green. Relative luminance 0.829; OKLCH L 92.8% C 0.170 H 124.3°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#CFFA72
RGBrgb(207, 250, 114)
HSLhsl(79, 93%, 71%)
HSVhsv(79, 54%, 98%)
CMYKcmyk(17.2%, 0%, 54.4%, 2%)
CIE-LABlab(92.95, -33.76, 59.77)
CIE-LCHlch(92.95, 68.65, 119.46°)
OKLaboklab(92.76% -0.0956 0.1402)
OKLCHoklch(92.76% 0.17 124.3)
XYZxyz(62.9552, 82.8511, 28.5915)
Luminance0.8285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFFA72 #9D72FA
analogous
#FAE172 #CFFA72 #8BFA72
triadic
#CFFA72 #72CFFA #FA72CF
tetradic
#CFFA72 #72FAE1 #9D72FA #FA728B
square
#CFFA72 #72FAE1 #9D72FA #FA728B
split-complementary
#CFFA72 #728BFA #E172FA
monochromatic
#A2E908 #BBF837 #CFFA72 #E3FCAD #F5FEE1

Accessibility & contrast

On white

1.20
#CFFA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.57
#CFFA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFFA72
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFFA72#FFFFFF#000000##000000
##CFFA721.001.2017.5717.57
#FFFFFF1.201.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC64
Deuteranopia (green-blind)
#FFEA7B
Tritanopia (blue-blind)
#D7EFDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #cffa72;
/* rgb */ color: rgb(207, 250, 114);
/* oklch */ color: oklch(92.8% 0.170 124.3);
Tailwind
colors: {
  custom: {
    50: '#e0fc9e',
    500: '#cffa72',
    950: '#000000',
  },
}
SCSS
$custom: #cffa72;
$custom-light: #e0fc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cffa72",
  "rgb": {
    "r": 207,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 78.971,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92758,
    "c": 0.1697,
    "h": 124.3
  },
  "luminance": 0.82852
}

Semantic roles & 50–950 ramp

primary
#CFFA72
secondary
#6C3BD6
accent
#00E649
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #CFFA72

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

Preview Lab → · Contrast checker → · Palette generator →

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