#AFD85F#AFD85F

#AFD85F is a very light, vivid yellow-green. Relative luminance 0.591; OKLCH L 82.8% C 0.156 H 125.3°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#AFD85F
RGBrgb(175, 216, 95)
HSLhsl(80, 61%, 61%)
HSVhsv(80, 56%, 85%)
CMYKcmyk(19%, 0%, 56%, 15.3%)
CIE-LABlab(81.32, -31.81, 54.32)
CIE-LCHlch(81.32, 62.95, 120.36°)
OKLaboklab(82.8% -0.09 0.1271)
OKLCHoklch(82.8% 0.156 125.3)
XYZxyz(44.3007, 59.0515, 19.8884)
Luminance0.5905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD85F #885FD8
analogous
#D8C55F #AFD85F #72D85F
triadic
#AFD85F #5FAFD8 #D85FAF
tetradic
#AFD85F #5FD8C5 #885FD8 #D85F72
square
#AFD85F #5FD8C5 #885FD8 #D85F72
split-complementary
#AFD85F #5F72D8 #C55FD8
monochromatic
#719825 #95C931 #AFD85F #C8E490 #E0F0C1

Accessibility & contrast

On white

1.64
#AFD85F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#AFD85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD85F
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD85F#FFFFFF#000000##000000
##AFD85F1.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB53
Deuteranopia (green-blind)
#DDC967
Tritanopia (blue-blind)
#B6CFBD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd85f;
/* rgb */ color: rgb(175, 216, 95);
/* oklch */ color: oklch(82.8% 0.156 125.3);
Tailwind
colors: {
  custom: {
    50: '#c9e490',
    500: '#afd85f',
    950: '#000000',
  },
}
SCSS
$custom: #afd85f;
$custom-light: #c9e490;
$custom-dark: #000000;
JSON
{
  "hex": "#afd85f",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 95
  },
  "hsl": {
    "h": 80.331,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82802,
    "c": 0.15573,
    "h": 125.3
  },
  "luminance": 0.59052
}

Semantic roles & 50–950 ramp

primary
#AFD85F
secondary
#5F3F9C
accent
#1DC857
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD85F

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

Preview Lab → · Contrast checker → · Palette generator →

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