#AFFB97#AFFB97

#AFFB97 is a very light, vivid green. Relative luminance 0.803; OKLCH L 91.5% C 0.151 H 138.4°. Best body text is #000000 at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#AFFB97
RGBrgb(175, 251, 151)
HSLhsl(106, 93%, 79%)
HSVhsv(106, 40%, 98%)
CMYKcmyk(30.3%, 0%, 39.8%, 1.6%)
CIE-LABlab(91.84, -41.30, 40.64)
CIE-LCHlch(91.84, 57.95, 135.46°)
OKLaboklab(91.53% -0.1129 0.1001)
OKLCHoklch(91.53% 0.151 138.4)
XYZxyz(57.7605, 80.3404, 41.7361)
Luminance0.8034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFB97 #E397FB
analogous
#E1FB97 #AFFB97 #97FBB1
triadic
#AFFB97 #97AFFB #FB97AF
tetradic
#AFFB97 #97E1FB #E397FB #FBB197
square
#AFFB97 #97E1FB #E397FB #FBB197
split-complementary
#AFFB97 #B197FB #FB97E1
monochromatic
#54F621 #82F95C #AFFB97 #DCFDD2 #E8FEE2

Accessibility & contrast

On white

1.23
#AFFB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.07
#AFFB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFB97
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFB97#FFFFFF#000000##000000
##AFFB971.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC90
Deuteranopia (green-blind)
#F5E59D
Tritanopia (blue-blind)
#ABF5E2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #affb97;
/* rgb */ color: rgb(175, 251, 151);
/* oklch */ color: oklch(91.5% 0.151 138.4);
Tailwind
colors: {
  custom: {
    50: '#c9fdb7',
    500: '#affb97',
    950: '#000000',
  },
}
SCSS
$custom: #affb97;
$custom-light: #c9fdb7;
$custom-dark: #000000;
JSON
{
  "hex": "#affb97",
  "rgb": {
    "r": 175,
    "g": 251,
    "b": 151
  },
  "hsl": {
    "h": 105.6,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.91528,
    "c": 0.15089,
    "h": 138.4
  },
  "luminance": 0.80343
}

Semantic roles & 50–950 ramp

primary
#AFFB97
secondary
#BD5ADC
accent
#00E6AE
background
#FEFFFD
surface
#FAFFF8
border
#D3D7D1
text
#131711
muted
#838581

Preview Lab

Preview with #AFFB97

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

Preview Lab → · Contrast checker → · Palette generator →

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