#AFD85B#AFD85B

#AFD85B is a very light, vivid yellow-green. Relative luminance 0.590; OKLCH L 82.8% C 0.159 H 125.0°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#AFD85B
RGBrgb(175, 216, 91)
HSLhsl(80, 62%, 60%)
HSVhsv(80, 58%, 85%)
CMYKcmyk(19%, 0%, 57.9%, 15.3%)
CIE-LABlab(81.28, -32.16, 56.05)
CIE-LCHlch(81.28, 64.62, 119.85°)
OKLaboklab(82.76% -0.0913 0.1304)
OKLCHoklch(82.76% 0.159 125)
XYZxyz(44.1235, 58.9806, 18.9553)
Luminance0.5898 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD85B #845BD8
analogous
#D8C25B #AFD85B #70D85B
triadic
#AFD85B #5BAFD8 #D85BAF
tetradic
#AFD85B #5BD8C2 #845BD8 #D85B70
square
#AFD85B #5BD8C2 #845BD8 #D85B70
split-complementary
#AFD85B #5B70D8 #C25BD8
monochromatic
#709523 #95C72F #AFD85B #C7E48C #DFF0BE

Accessibility & contrast

On white

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

On black

12.80
#AFD85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD85B
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD85B#FFFFFF#000000##000000
##AFD85B1.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd85b;
/* rgb */ color: rgb(175, 216, 91);
/* oklch */ color: oklch(82.8% 0.159 125.0);
Tailwind
colors: {
  custom: {
    50: '#c9e48e',
    500: '#afd85b',
    950: '#000000',
  },
}
SCSS
$custom: #afd85b;
$custom-light: #c9e48e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd85b",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 91
  },
  "hsl": {
    "h": 79.68,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82758,
    "c": 0.1592,
    "h": 125
  },
  "luminance": 0.58981
}

Semantic roles & 50–950 ramp

primary
#AFD85B
secondary
#5C3D9A
accent
#1CC955
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD85B

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

Preview Lab → · Contrast checker → · Palette generator →

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