#AFEB8A#AFEB8A

#AFEB8A is a very light, vivid yellow-green. Relative luminance 0.704; OKLCH L 87.7% C 0.141 H 134.4°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#AFEB8A
RGBrgb(175, 235, 138)
HSLhsl(97, 71%, 73%)
HSVhsv(97, 41%, 92%)
CMYKcmyk(25.5%, 0%, 41.3%, 7.8%)
CIE-LABlab(87.18, -35.85, 41.04)
CIE-LCHlch(87.18, 54.49, 131.14°)
OKLaboklab(87.7% -0.0983 0.1005)
OKLCHoklch(87.7% 0.141 134.4)
XYZxyz(51.9738, 70.3641, 34.8831)
Luminance0.7037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB8A #C68AEB
analogous
#E0EB8A #AFEB8A #8AEB95
triadic
#AFEB8A #8AAFEB #EB8AAF
tetradic
#AFEB8A #8AE0EB #C68AEB #EB958A
square
#AFEB8A #8AE0EB #C68AEB #EB958A
split-complementary
#AFEB8A #958AEB #EB8AE0
monochromatic
#68D625 #8BE256 #AFEB8A #D3F4BE #EDFBE5

Accessibility & contrast

On white

1.39
#AFEB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.07
#AFEB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB8A
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB8A#FFFFFF#000000##000000
##AFEB8A1.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DE83
Deuteranopia (green-blind)
#E9D990
Tritanopia (blue-blind)
#AFE4D3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afeb8a;
/* rgb */ color: rgb(175, 235, 138);
/* oklch */ color: oklch(87.7% 0.141 134.4);
Tailwind
colors: {
  custom: {
    50: '#c9f1ad',
    500: '#afeb8a',
    950: '#000000',
  },
}
SCSS
$custom: #afeb8a;
$custom-light: #c9f1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb8a",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 138
  },
  "hsl": {
    "h": 97.113,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.87697,
    "c": 0.14062,
    "h": 134.4
  },
  "luminance": 0.70366
}

Semantic roles & 50–950 ramp

primary
#AFEB8A
secondary
#9A54C5
accent
#13D38A
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFEB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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