#AFEB5E#AFEB5E

#AFEB5E is a very light, vivid yellow-green. Relative luminance 0.693; OKLCH L 87.1% C 0.181 H 129.0°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#AFEB5E
RGBrgb(175, 235, 94)
HSLhsl(86, 78%, 65%)
HSVhsv(86, 60%, 92%)
CMYKcmyk(25.5%, 0%, 60%, 7.8%)
CIE-LABlab(86.67, -40.52, 60.79)
CIE-LCHlch(86.67, 73.06, 123.68°)
OKLaboklab(87.13% -0.1142 0.1408)
OKLCHoklch(87.13% 0.181 129)
XYZxyz(49.4076, 69.3376, 21.3679)
Luminance0.6934 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB5E #9A5EEB
analogous
#EBE15E #AFEB5E #69EB5E
triadic
#AFEB5E #5EAFEB #EB5EAF
tetradic
#AFEB5E #5EEBE1 #9A5EEB #EB5E69
square
#AFEB5E #5EEBE1 #9A5EEB #EB5E69
split-complementary
#AFEB5E #5E69EB #E15EEB
monochromatic
#73B817 #94E428 #AFEB5E #CAF294 #E5F9CB

Accessibility & contrast

On white

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

On black

14.87
#AFEB5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB5E
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB5E#FFFFFF#000000##000000
##AFEB5E1.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC4E
Deuteranopia (green-blind)
#EDD868
Tritanopia (blue-blind)
#B4E1CD
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afeb5e;
/* rgb */ color: rgb(175, 235, 94);
/* oklch */ color: oklch(87.1% 0.181 129.0);
Tailwind
colors: {
  custom: {
    50: '#caf191',
    500: '#afeb5e',
    950: '#000000',
  },
}
SCSS
$custom: #afeb5e;
$custom-light: #caf191;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb5e",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 94
  },
  "hsl": {
    "h": 85.532,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.87126,
    "c": 0.18133,
    "h": 129
  },
  "luminance": 0.69339
}

Semantic roles & 50–950 ramp

primary
#AFEB5E
secondary
#6D36B7
accent
#0BDA63
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEB5E

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

Preview Lab → · Contrast checker → · Palette generator →

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