#AFE85A#AFE85A

#AFE85A is a very light, vivid yellow-green. Relative luminance 0.676; OKLCH L 86.4% C 0.181 H 128.2°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#AFE85A
RGBrgb(175, 232, 90)
HSLhsl(84, 76%, 63%)
HSVhsv(84, 61%, 91%)
CMYKcmyk(24.6%, 0%, 61.2%, 9%)
CIE-LABlab(85.79, -39.52, 61.50)
CIE-LCHlch(85.79, 73.10, 122.72°)
OKLaboklab(86.4% -0.1118 0.1419)
OKLCHoklch(86.4% 0.181 128.2)
XYZxyz(48.3811, 67.5644, 20.1631)
Luminance0.6756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE85A #935AE8
analogous
#E8DA5A #AFE85A #68E85A
triadic
#AFE85A #5AAFE8 #E85AAF
tetradic
#AFE85A #5AE8DA #935AE8 #E85A68
square
#AFE85A #5AE8DA #935AE8 #E85A68
split-complementary
#AFE85A #5A68E8 #DA5AE8
monochromatic
#73AF18 #95E124 #AFE85A #C9EF90 #E3F7C5

Accessibility & contrast

On white

1.45
#AFE85A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#AFE85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE85A
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE85A#FFFFFF#000000##000000
##AFE85A1.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D949
Deuteranopia (green-blind)
#EBD564
Tritanopia (blue-blind)
#B4DECA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe85a;
/* rgb */ color: rgb(175, 232, 90);
/* oklch */ color: oklch(86.4% 0.181 128.2);
Tailwind
colors: {
  custom: {
    50: '#caef8e',
    500: '#afe85a',
    950: '#000000',
  },
}
SCSS
$custom: #afe85a;
$custom-light: #caef8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe85a",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 90
  },
  "hsl": {
    "h": 84.085,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.86399,
    "c": 0.18064,
    "h": 128.2
  },
  "luminance": 0.67565
}

Semantic roles & 50–950 ramp

primary
#AFE85A
secondary
#6736B0
accent
#0ED85F
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE85A

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

Preview Lab → · Contrast checker → · Palette generator →

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