#AFE85B#AFE85B

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

Color values

HEX#AFE85B
RGBrgb(175, 232, 91)
HSLhsl(84, 75%, 63%)
HSVhsv(84, 61%, 91%)
CMYKcmyk(24.6%, 0%, 60.8%, 9%)
CIE-LABlab(85.80, -39.44, 61.09)
CIE-LCHlch(85.80, 72.71, 122.84°)
OKLaboklab(86.41% -0.1115 0.1411)
OKLCHoklch(86.41% 0.18 128.3)
XYZxyz(48.4240, 67.5815, 20.3888)
Luminance0.6758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE85B #945BE8
analogous
#E8DA5B #AFE85B #68E85B
triadic
#AFE85B #5BAFE8 #E85BAF
tetradic
#AFE85B #5BE8DA #945BE8 #E85B68
square
#AFE85B #5BE8DA #945BE8 #E85B68
split-complementary
#AFE85B #5B68E8 #DA5BE8
monochromatic
#73B019 #95E025 #AFE85B #C9F091 #E3F7C6

Accessibility & contrast

On white

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

On black

14.52
#AFE85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE85B
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE85B#FFFFFF#000000##000000
##AFE85B1.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe85b;
/* rgb */ color: rgb(175, 232, 91);
/* oklch */ color: oklch(86.4% 0.180 128.3);
Tailwind
colors: {
  custom: {
    50: '#caef8f',
    500: '#afe85b',
    950: '#000000',
  },
}
SCSS
$custom: #afe85b;
$custom-light: #caef8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afe85b",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 91
  },
  "hsl": {
    "h": 84.255,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86409,
    "c": 0.17985,
    "h": 128.3
  },
  "luminance": 0.67583
}

Semantic roles & 50–950 ramp

primary
#AFE85B
secondary
#6837B1
accent
#0ED85F
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE85B

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

Preview Lab → · Contrast checker → · Palette generator →

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