#AFEB5F#AFEB5F

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

Color values

HEX#AFEB5F
RGBrgb(175, 235, 95)
HSLhsl(86, 78%, 65%)
HSVhsv(86, 60%, 92%)
CMYKcmyk(25.5%, 0%, 59.6%, 7.8%)
CIE-LABlab(86.68, -40.44, 60.38)
CIE-LCHlch(86.68, 72.67, 123.81°)
OKLaboklab(87.14% -0.1139 0.1401)
OKLCHoklch(87.14% 0.181 129.1)
XYZxyz(49.4528, 69.3557, 21.6058)
Luminance0.6936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB5F #9B5FEB
analogous
#EBE15F #AFEB5F #69EB5F
triadic
#AFEB5F #5FAFEB #EB5FAF
tetradic
#AFEB5F #5FEBE1 #9B5FEB #EB5F69
square
#AFEB5F #5FEBE1 #9B5FEB #EB5F69
split-complementary
#AFEB5F #5F69EB #E15FEB
monochromatic
#73B917 #94E429 #AFEB5F #CAF295 #E5F9CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFEB5F#FFFFFF#000000##000000
##AFEB5F1.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)
#F5DC4F
Deuteranopia (green-blind)
#EDD869
Tritanopia (blue-blind)
#B4E1CD
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afeb5f;
/* rgb */ color: rgb(175, 235, 95);
/* oklch */ color: oklch(87.1% 0.181 129.1);
Tailwind
colors: {
  custom: {
    50: '#caf191',
    500: '#afeb5f',
    950: '#000000',
  },
}
SCSS
$custom: #afeb5f;
$custom-light: #caf191;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb5f",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 95
  },
  "hsl": {
    "h": 85.714,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.87136,
    "c": 0.18053,
    "h": 129.1
  },
  "luminance": 0.69357
}

Semantic roles & 50–950 ramp

primary
#AFEB5F
secondary
#6E36B8
accent
#0BDA64
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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