#AFFA97#AFFA97

#AFFA97 is a very light, vivid green. Relative luminance 0.797; OKLCH L 91.3% C 0.149 H 138.4°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#AFFA97
RGBrgb(175, 250, 151)
HSLhsl(105, 91%, 79%)
HSVhsv(105, 40%, 98%)
CMYKcmyk(30%, 0%, 39.6%, 2%)
CIE-LABlab(91.56, -40.86, 40.28)
CIE-LCHlch(91.56, 57.38, 135.41°)
OKLaboklab(91.3% -0.1117 0.0993)
OKLCHoklch(91.3% 0.149 138.4)
XYZxyz(57.4489, 79.7173, 41.6322)
Luminance0.7972 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA97 #E297FA
analogous
#E0FA97 #AFFA97 #97FAB0
triadic
#AFFA97 #97AFFA #FA97AF
tetradic
#AFFA97 #97E0FA #E297FA #FAB097
square
#AFFA97 #97E0FA #E297FA #FAB097
split-complementary
#AFFA97 #B097FA #FA97E0
monochromatic
#55F422 #82F75D #AFFA97 #DCFDD1 #E9FEE2

Accessibility & contrast

On white

1.24
#AFFA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.94
#AFFA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFA97
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFA97#FFFFFF#000000##000000
##AFFA971.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB90
Deuteranopia (green-blind)
#F5E49D
Tritanopia (blue-blind)
#ABF4E2
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affa97;
/* rgb */ color: rgb(175, 250, 151);
/* oklch */ color: oklch(91.3% 0.149 138.4);
Tailwind
colors: {
  custom: {
    50: '#c9fcb6',
    500: '#affa97',
    950: '#000000',
  },
}
SCSS
$custom: #affa97;
$custom-light: #c9fcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#affa97",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 105.455,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.91302,
    "c": 0.14942,
    "h": 138.4
  },
  "luminance": 0.7972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFFA97

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

Preview Lab → · Contrast checker → · Palette generator →

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