#AFD85C#AFD85C

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

Color values

HEX#AFD85C
RGBrgb(175, 216, 92)
HSLhsl(80, 61%, 60%)
HSVhsv(80, 57%, 85%)
CMYKcmyk(19%, 0%, 57.4%, 15.3%)
CIE-LABlab(81.29, -32.08, 55.62)
CIE-LCHlch(81.29, 64.21, 119.97°)
OKLaboklab(82.77% -0.091 0.1296)
OKLCHoklch(82.77% 0.158 125.1)
XYZxyz(44.1669, 58.9980, 19.1840)
Luminance0.5900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD85C #855CD8
analogous
#D8C35C #AFD85C #71D85C
triadic
#AFD85C #5CAFD8 #D85CAF
tetradic
#AFD85C #5CD8C3 #855CD8 #D85C71
square
#AFD85C #5CD8C3 #855CD8 #D85C71
split-complementary
#AFD85C #5C71D8 #C35CD8
monochromatic
#709624 #95C730 #AFD85C #C7E48D #DFF0BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD85C#FFFFFF#000000##000000
##AFD85C1.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)
#E3CB4F
Deuteranopia (green-blind)
#DDC964
Tritanopia (blue-blind)
#B6CFBD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd85c;
/* rgb */ color: rgb(175, 216, 92);
/* oklch */ color: oklch(82.8% 0.158 125.1);
Tailwind
colors: {
  custom: {
    50: '#c9e48e',
    500: '#afd85c',
    950: '#000000',
  },
}
SCSS
$custom: #afd85c;
$custom-light: #c9e48e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd85c",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 92
  },
  "hsl": {
    "h": 79.839,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82769,
    "c": 0.15834,
    "h": 125.1
  },
  "luminance": 0.58998
}

Semantic roles & 50–950 ramp

primary
#AFD85C
secondary
#5C3E9B
accent
#1CC956
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD85C

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

Preview Lab → · Contrast checker → · Palette generator →

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