#AFEB5D#AFEB5D

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

Color values

HEX#AFEB5D
RGBrgb(175, 235, 93)
HSLhsl(85, 78%, 64%)
HSVhsv(85, 60%, 92%)
CMYKcmyk(25.5%, 0%, 60.4%, 7.8%)
CIE-LABlab(86.66, -40.60, 61.21)
CIE-LCHlch(86.66, 73.45, 123.56°)
OKLaboklab(87.12% -0.1145 0.1416)
OKLCHoklch(87.12% 0.182 129)
XYZxyz(49.3631, 69.3198, 21.1331)
Luminance0.6932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB5D #995DEB
analogous
#EBE05D #AFEB5D #68EB5D
triadic
#AFEB5D #5DAFEB #EB5DAF
tetradic
#AFEB5D #5DEBE0 #995DEB #EB5D68
square
#AFEB5D #5DEBE0 #995DEB #EB5D68
split-complementary
#AFEB5D #5D68EB #E05DEB
monochromatic
#73B717 #94E427 #AFEB5D #CAF293 #E5F8CA

Accessibility & contrast

On white

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

On black

14.86
#AFEB5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB5D
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB5D#FFFFFF#000000##000000
##AFEB5D1.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afeb5d;
/* rgb */ color: rgb(175, 235, 93);
/* oklch */ color: oklch(87.1% 0.182 129.0);
Tailwind
colors: {
  custom: {
    50: '#caf190',
    500: '#afeb5d',
    950: '#000000',
  },
}
SCSS
$custom: #afeb5d;
$custom-light: #caf190;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb5d",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 93
  },
  "hsl": {
    "h": 85.352,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.87116,
    "c": 0.18213,
    "h": 129
  },
  "luminance": 0.69321
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFEB5D

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

Preview Lab → · Contrast checker → · Palette generator →

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