#CFF7A2#CFF7A2

#CFF7A2 is a very light, moderate yellow-green. Relative luminance 0.824; OKLCH L 92.8% C 0.117 H 129.0°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#CFF7A2
RGBrgb(207, 247, 162)
HSLhsl(88, 84%, 80%)
HSVhsv(88, 34%, 97%)
CMYKcmyk(16.2%, 0%, 34.4%, 3.1%)
CIE-LABlab(92.75, -27.07, 36.75)
CIE-LCHlch(92.75, 45.64, 126.38°)
OKLaboklab(92.8% -0.0738 0.0913)
OKLCHoklch(92.8% 0.117 129)
XYZxyz(65.5135, 82.3948, 46.6277)
Luminance0.8240 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFF7A2 #CAA2F7
analogous
#F7F4A2 #CFF7A2 #A5F7A2
triadic
#CFF7A2 #A2CFF7 #F7A2CF
tetradic
#CFF7A2 #A2F7F4 #CAA2F7 #F7A2A5
square
#CFF7A2 #A2F7F4 #CAA2F7 #F7A2A5
split-complementary
#CFF7A2 #A2A5F7 #F4A2F7
monochromatic
#95ED31 #B2F26A #CFF7A2 #ECFCDA #F0FDE3

Accessibility & contrast

On white

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

On black

17.48
#CFF7A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFF7A2
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFF7A2#FFFFFF#000000##000000
##CFF7A21.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC9C
Deuteranopia (green-blind)
#F9E9A6
Tritanopia (blue-blind)
#D2F0E1
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #cff7a2;
/* rgb */ color: rgb(207, 247, 162);
/* oklch */ color: oklch(92.8% 0.117 129.0);
Tailwind
colors: {
  custom: {
    50: '#defabe',
    500: '#cff7a2',
    950: '#000000',
  },
}
SCSS
$custom: #cff7a2;
$custom-light: #defabe;
$custom-dark: #000000;
JSON
{
  "hex": "#cff7a2",
  "rgb": {
    "r": 207,
    "g": 247,
    "b": 162
  },
  "hsl": {
    "h": 88.235,
    "s": 84.158,
    "l": 80.196
  },
  "oklch": {
    "l": 0.92796,
    "c": 0.11736,
    "h": 129
  },
  "luminance": 0.82396
}

Semantic roles & 50–950 ramp

primary
#CFF7A2
secondary
#9B66D7
accent
#05E16C
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151712
muted
#848582

Preview Lab

Preview with #CFF7A2

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

Preview Lab → · Contrast checker → · Palette generator →

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