#AFF970#AFF970

#AFF970 is a very light, vivid yellow-green. Relative luminance 0.780; OKLCH L 90.5% C 0.185 H 132.6°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#AFF970
RGBrgb(175, 249, 112)
HSLhsl(92, 92%, 71%)
HSVhsv(92, 55%, 98%)
CMYKcmyk(29.7%, 0%, 55%, 2.4%)
CIE-LABlab(90.80, -44.99, 57.68)
CIE-LCHlch(90.80, 73.15, 127.95°)
OKLaboklab(90.53% -0.1252 0.1359)
OKLCHoklch(90.53% 0.185 132.6)
XYZxyz(54.4786, 78.0334, 27.5177)
Luminance0.7803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF970 #BA70F9
analogous
#F3F970 #AFF970 #70F975
triadic
#AFF970 #70AFF9 #F970AF
tetradic
#AFF970 #70F3F9 #BA70F9 #F97570
square
#AFF970 #70F3F9 #BA70F9 #F97570
split-complementary
#AFF970 #7570F9 #F970F3
monochromatic
#6EE50A #8EF735 #AFF970 #D0FBAB #EFFEE2

Accessibility & contrast

On white

1.26
#AFF970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.61
#AFF970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF970
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF970#FFFFFF#000000##000000
##AFF9701.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE862
Deuteranopia (green-blind)
#F8E379
Tritanopia (blue-blind)
#B0F0DB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #aff970;
/* rgb */ color: rgb(175, 249, 112);
/* oklch */ color: oklch(90.5% 0.185 132.6);
Tailwind
colors: {
  custom: {
    50: '#cafb9d',
    500: '#aff970',
    950: '#000000',
  },
}
SCSS
$custom: #aff970;
$custom-light: #cafb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#aff970",
  "rgb": {
    "r": 175,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 92.409,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90527,
    "c": 0.18475,
    "h": 132.6
  },
  "luminance": 0.78035
}

Semantic roles & 50–950 ramp

primary
#AFF970
secondary
#8D39D4
accent
#00E67C
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFF970

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

Preview Lab → · Contrast checker → · Palette generator →

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