#AFEB7D#AFEB7D

#AFEB7D is a very light, vivid yellow-green. Relative luminance 0.700; OKLCH L 87.5% C 0.154 H 132.3°. Best body text is #000000 at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#AFEB7D
RGBrgb(175, 235, 125)
HSLhsl(93, 73%, 71%)
HSVhsv(93, 47%, 92%)
CMYKcmyk(25.5%, 0%, 46.8%, 7.8%)
CIE-LABlab(87.00, -37.44, 47.13)
CIE-LCHlch(87.00, 60.19, 128.46°)
OKLaboklab(87.5% -0.1034 0.1137)
OKLCHoklch(87.5% 0.154 132.3)
XYZxyz(51.0883, 70.0099, 30.2197)
Luminance0.7001 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB7D #B97DEB
analogous
#E6EB7D #AFEB7D #7DEB82
triadic
#AFEB7D #7DAFEB #EB7DAF
tetradic
#AFEB7D #7DE6EB #B97DEB #EB827D
square
#AFEB7D #7DE6EB #B97DEB #EB827D
split-complementary
#AFEB7D #827DEB #EB7DE6
monochromatic
#6FCE20 #8EE348 #AFEB7D #D0F3B2 #EFFBE4

Accessibility & contrast

On white

1.40
#AFEB7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.00
#AFEB7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB7D
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB7D#FFFFFF#000000##000000
##AFEB7D1.001.4015.0015.00
#FFFFFF1.401.0021.0021.00
#00000015.0021.001.001.00
##00000015.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD74
Deuteranopia (green-blind)
#EAD884
Tritanopia (blue-blind)
#B1E3D1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afeb7d;
/* rgb */ color: rgb(175, 235, 125);
/* oklch */ color: oklch(87.5% 0.154 132.3);
Tailwind
colors: {
  custom: {
    50: '#c9f1a4',
    500: '#afeb7d',
    950: '#000000',
  },
}
SCSS
$custom: #afeb7d;
$custom-light: #c9f1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb7d",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 125
  },
  "hsl": {
    "h": 92.727,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.875,
    "c": 0.15366,
    "h": 132.3
  },
  "luminance": 0.70011
}

Semantic roles & 50–950 ramp

primary
#AFEB7D
secondary
#8C48C4
accent
#10D57C
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEB7D

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

Preview Lab → · Contrast checker → · Palette generator →

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