#AFEB71#AFEB71

#AFEB71 is a very light, vivid yellow-green. Relative luminance 0.697; OKLCH L 87.3% C 0.165 H 130.8°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#AFEB71
RGBrgb(175, 235, 113)
HSLhsl(90, 75%, 68%)
HSVhsv(90, 52%, 92%)
CMYKcmyk(25.5%, 0%, 51.9%, 7.8%)
CIE-LABlab(86.86, -38.75, 52.60)
CIE-LCHlch(86.86, 65.33, 126.38°)
OKLaboklab(87.34% -0.1078 0.1249)
OKLCHoklch(87.34% 0.165 130.8)
XYZxyz(50.3676, 69.7216, 26.4235)
Luminance0.6972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB71 #AD71EB
analogous
#EBEA71 #AFEB71 #72EB71
triadic
#AFEB71 #71AFEB #EB71AF
tetradic
#AFEB71 #71EBEA #AD71EB #EB7172
square
#AFEB71 #71EBEA #AD71EB #EB7172
split-complementary
#AFEB71 #7172EB #EA71EB
monochromatic
#72C61C #91E33B #AFEB71 #CDF3A7 #EBFADC

Accessibility & contrast

On white

1.41
#AFEB71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.94
#AFEB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB71
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB71#FFFFFF#000000##000000
##AFEB711.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC66
Deuteranopia (green-blind)
#ECD879
Tritanopia (blue-blind)
#B2E2CF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afeb71;
/* rgb */ color: rgb(175, 235, 113);
/* oklch */ color: oklch(87.3% 0.165 130.8);
Tailwind
colors: {
  custom: {
    50: '#c9f19d',
    500: '#afeb71',
    950: '#000000',
  },
}
SCSS
$custom: #afeb71;
$custom-light: #c9f19d;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb71",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 113
  },
  "hsl": {
    "h": 89.508,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.8734,
    "c": 0.16503,
    "h": 130.8
  },
  "luminance": 0.69723
}

Semantic roles & 50–950 ramp

primary
#AFEB71
secondary
#7F3DC3
accent
#0ED771
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13170E
muted
#83857F

Preview Lab

Preview with #AFEB71

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

Preview Lab → · Contrast checker → · Palette generator →

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