#AFEB7A#AFEB7A

#AFEB7A is a very light, vivid yellow-green. Relative luminance 0.699; OKLCH L 87.5% C 0.157 H 131.9°. Best body text is #000000 at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#AFEB7A
RGBrgb(175, 235, 122)
HSLhsl(92, 74%, 70%)
HSVhsv(92, 48%, 92%)
CMYKcmyk(25.5%, 0%, 48.1%, 7.8%)
CIE-LABlab(86.96, -37.78, 48.51)
CIE-LCHlch(86.96, 61.49, 127.91°)
OKLaboklab(87.46% -0.1045 0.1166)
OKLCHoklch(87.46% 0.157 131.9)
XYZxyz(50.8996, 69.9344, 29.2256)
Luminance0.6994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB7A #B67AEB
analogous
#E8EB7A #AFEB7A #7AEB7D
triadic
#AFEB7A #7AAFEB #EB7AAF
tetradic
#AFEB7A #7AE8EB #B67AEB #EB7D7A
square
#AFEB7A #7AE8EB #B67AEB #EB7D7A
split-complementary
#AFEB7A #7D7AEB #EB7AE8
monochromatic
#70CC1F #8FE345 #AFEB7A #CFF3AF #EFFBE4

Accessibility & contrast

On white

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

On black

14.99
#AFEB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB7A
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB7A#FFFFFF#000000##000000
##AFEB7A1.001.4014.9914.99
#FFFFFF1.401.0021.0021.00
#00000014.9921.001.001.00
##00000014.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afeb7a;
/* rgb */ color: rgb(175, 235, 122);
/* oklch */ color: oklch(87.5% 0.157 131.9);
Tailwind
colors: {
  custom: {
    50: '#c9f1a2',
    500: '#afeb7a',
    950: '#000000',
  },
}
SCSS
$custom: #afeb7a;
$custom-light: #c9f1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb7a",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 122
  },
  "hsl": {
    "h": 91.858,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.87458,
    "c": 0.15656,
    "h": 131.9
  },
  "luminance": 0.69936
}

Semantic roles & 50–950 ramp

primary
#AFEB7A
secondary
#8945C4
accent
#10D679
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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