#AFEF8B#AFEF8B

#AFEF8B is a very light, vivid yellow-green. Relative luminance 0.727; OKLCH L 88.6% C 0.145 H 135.1°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#AFEF8B
RGBrgb(175, 239, 139)
HSLhsl(98, 76%, 74%)
HSVhsv(98, 42%, 94%)
CMYKcmyk(26.8%, 0%, 41.8%, 6.3%)
CIE-LABlab(88.31, -37.53, 41.99)
CIE-LCHlch(88.31, 56.32, 131.79°)
OKLaboklab(88.62% -0.103 0.1027)
OKLCHoklch(88.62% 0.145 135.1)
XYZxyz(53.2046, 72.7094, 35.6522)
Luminance0.7271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF8B #CB8BEF
analogous
#E1EF8B #AFEF8B #8BEF99
triadic
#AFEF8B #8BAFEF #EF8BAF
tetradic
#AFEF8B #8BE1EF #CB8BEF #EF998B
square
#AFEF8B #8BE1EF #CB8BEF #EF998B
split-complementary
#AFEF8B #998BEF #EF8BE1
monochromatic
#65E01F #8AE855 #AFEF8B #D4F6C1 #ECFBE4

Accessibility & contrast

On white

1.35
#AFEF8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.54
#AFEF8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF8B
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF8B#FFFFFF#000000##000000
##AFEF8B1.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E183
Deuteranopia (green-blind)
#ECDC91
Tritanopia (blue-blind)
#AEE8D7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #afef8b;
/* rgb */ color: rgb(175, 239, 139);
/* oklch */ color: oklch(88.6% 0.145 135.1);
Tailwind
colors: {
  custom: {
    50: '#c9f4ae',
    500: '#afef8b',
    950: '#000000',
  },
}
SCSS
$custom: #afef8b;
$custom-light: #c9f4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#afef8b",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 139
  },
  "hsl": {
    "h": 98.4,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.88618,
    "c": 0.14545,
    "h": 135.1
  },
  "luminance": 0.72711
}

Semantic roles & 50–950 ramp

primary
#AFEF8B
secondary
#A054CA
accent
#0ED88F
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFEF8B

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

Preview Lab → · Contrast checker → · Palette generator →

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