#AFEB6B#AFEB6B

#AFEB6B is a very light, vivid yellow-green. Relative luminance 0.696; OKLCH L 87.3% C 0.170 H 130.2°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#AFEB6B
RGBrgb(175, 235, 107)
HSLhsl(88, 76%, 67%)
HSVhsv(88, 54%, 92%)
CMYKcmyk(25.5%, 0%, 54.5%, 7.8%)
CIE-LABlab(86.80, -39.35, 55.25)
CIE-LCHlch(86.80, 67.83, 125.46°)
OKLaboklab(87.27% -0.1099 0.1302)
OKLCHoklch(87.27% 0.17 130.2)
XYZxyz(50.0409, 69.5909, 24.7030)
Luminance0.6959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB6B #A76BEB
analogous
#EBE76B #AFEB6B #6FEB6B
triadic
#AFEB6B #6BAFEB #EB6BAF
tetradic
#AFEB6B #6BEBE7 #A76BEB #EB6B6F
square
#AFEB6B #6BEBE7 #A76BEB #EB6B6F
split-complementary
#AFEB6B #6B6FEB #E76BEB
monochromatic
#73C11A #92E435 #AFEB6B #CCF2A1 #E9FAD7

Accessibility & contrast

On white

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

On black

14.92
#AFEB6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB6B
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB6B#FFFFFF#000000##000000
##AFEB6B1.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC5E
Deuteranopia (green-blind)
#ECD874
Tritanopia (blue-blind)
#B3E2CF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afeb6b;
/* rgb */ color: rgb(175, 235, 107);
/* oklch */ color: oklch(87.3% 0.170 130.2);
Tailwind
colors: {
  custom: {
    50: '#caf199',
    500: '#afeb6b',
    950: '#000000',
  },
}
SCSS
$custom: #afeb6b;
$custom-light: #caf199;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb6b",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 107
  },
  "hsl": {
    "h": 88.125,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87267,
    "c": 0.17042,
    "h": 130.2
  },
  "luminance": 0.69592
}

Semantic roles & 50–950 ramp

primary
#AFEB6B
secondary
#793AC0
accent
#0DD86C
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13170E
muted
#83857F

Preview Lab

Preview with #AFEB6B

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

Preview Lab → · Contrast checker → · Palette generator →

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