#AFF870#AFF870

#AFF870 is a very light, vivid yellow-green. Relative luminance 0.774; OKLCH L 90.3% C 0.183 H 132.5°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#AFF870
RGBrgb(175, 248, 112)
HSLhsl(92, 91%, 71%)
HSVhsv(92, 55%, 97%)
CMYKcmyk(29.4%, 0%, 54.8%, 2.7%)
CIE-LABlab(90.51, -44.56, 57.35)
CIE-LCHlch(90.51, 72.63, 127.84°)
OKLaboklab(90.3% -0.124 0.1352)
OKLCHoklch(90.3% 0.183 132.5)
XYZxyz(54.1704, 77.4168, 27.4149)
Luminance0.7742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFF870 #B970F8
analogous
#F3F870 #AFF870 #70F875
triadic
#AFF870 #70AFF8 #F870AF
tetradic
#AFF870 #70F3F8 #B970F8 #F87570
square
#AFF870 #70F3F8 #B970F8 #F87570
split-complementary
#AFF870 #7570F8 #F870F3
monochromatic
#6FE30B #8EF536 #AFF870 #D0FBAA #EFFEE2

Accessibility & contrast

On white

1.27
#AFF870 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#AFF870 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFF870
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFF870#FFFFFF#000000##000000
##AFF8701.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE863
Deuteranopia (green-blind)
#F7E279
Tritanopia (blue-blind)
#B1EFDA
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #aff870;
/* rgb */ color: rgb(175, 248, 112);
/* oklch */ color: oklch(90.3% 0.183 132.5);
Tailwind
colors: {
  custom: {
    50: '#cafb9d',
    500: '#aff870',
    950: '#000000',
  },
}
SCSS
$custom: #aff870;
$custom-light: #cafb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#aff870",
  "rgb": {
    "r": 175,
    "g": 248,
    "b": 112
  },
  "hsl": {
    "h": 92.206,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90298,
    "c": 0.18342,
    "h": 132.5
  },
  "luminance": 0.77419
}

Semantic roles & 50–950 ramp

primary
#AFF870
secondary
#8C39D3
accent
#00E67B
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFF870

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

Preview Lab → · Contrast checker → · Palette generator →

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