#AFE85C#AFE85C

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

Color values

HEX#AFE85C
RGBrgb(175, 232, 92)
HSLhsl(84, 75%, 64%)
HSVhsv(84, 60%, 91%)
CMYKcmyk(24.6%, 0%, 60.3%, 9%)
CIE-LABlab(85.81, -39.36, 60.68)
CIE-LCHlch(85.81, 72.32, 122.97°)
OKLaboklab(86.42% -0.1112 0.1404)
OKLCHoklch(86.42% 0.179 128.4)
XYZxyz(48.4674, 67.5989, 20.6175)
Luminance0.6760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE85C #955CE8
analogous
#E8DB5C #AFE85C #69E85C
triadic
#AFE85C #5CAFE8 #E85CAF
tetradic
#AFE85C #5CE8DB #955CE8 #E85C69
square
#AFE85C #5CE8DB #955CE8 #E85C69
split-complementary
#AFE85C #5C69E8 #DB5CE8
monochromatic
#73B119 #95E026 #AFE85C #C9F092 #E4F7C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE85C#FFFFFF#000000##000000
##AFE85C1.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)
#F3D94C
Deuteranopia (green-blind)
#EBD566
Tritanopia (blue-blind)
#B4DECA
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe85c;
/* rgb */ color: rgb(175, 232, 92);
/* oklch */ color: oklch(86.4% 0.179 128.4);
Tailwind
colors: {
  custom: {
    50: '#caef8f',
    500: '#afe85c',
    950: '#000000',
  },
}
SCSS
$custom: #afe85c;
$custom-light: #caef8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afe85c",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 92
  },
  "hsl": {
    "h": 84.429,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.86419,
    "c": 0.17906,
    "h": 128.4
  },
  "luminance": 0.676
}

Semantic roles & 50–950 ramp

primary
#AFE85C
secondary
#6937B1
accent
#0ED760
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE85C

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

Preview Lab → · Contrast checker → · Palette generator →

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