#AFD95A#AFD95A

#AFD95A is a very light, vivid yellow-green. Relative luminance 0.595; OKLCH L 83.0% C 0.161 H 125.2°. Best body text is #000000 at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#AFD95A
RGBrgb(175, 217, 90)
HSLhsl(80, 63%, 60%)
HSVhsv(80, 59%, 85%)
CMYKcmyk(19.4%, 0%, 58.5%, 14.9%)
CIE-LABlab(81.55, -32.71, 56.80)
CIE-LCHlch(81.55, 65.54, 119.94°)
OKLaboklab(82.98% -0.0929 0.1319)
OKLCHoklch(82.98% 0.161 125.2)
XYZxyz(44.3376, 59.4774, 18.8153)
Luminance0.5948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD95A #845AD9
analogous
#D9C45A #AFD95A #6FD95A
triadic
#AFD95A #5AAFD9 #D95AAF
tetradic
#AFD95A #5AD9C4 #845AD9 #D95A6F
square
#AFD95A #5AD9C4 #845AD9 #D95A6F
split-complementary
#AFD95A #5A6FD9 #C45AD9
monochromatic
#709623 #95C82E #AFD95A #C7E48C #DFF0BD

Accessibility & contrast

On white

1.63
#AFD95A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.90
#AFD95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD95A
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD95A#FFFFFF#000000##000000
##AFD95A1.001.6312.9012.90
#FFFFFF1.631.0021.0021.00
#00000012.9021.001.001.00
##00000012.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4C
Deuteranopia (green-blind)
#DECA63
Tritanopia (blue-blind)
#B6CFBE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd95a;
/* rgb */ color: rgb(175, 217, 90);
/* oklch */ color: oklch(83.0% 0.161 125.2);
Tailwind
colors: {
  custom: {
    50: '#c9e58d',
    500: '#afd95a',
    950: '#000000',
  },
}
SCSS
$custom: #afd95a;
$custom-light: #c9e58d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd95a",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 90
  },
  "hsl": {
    "h": 79.843,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82975,
    "c": 0.16134,
    "h": 125.2
  },
  "luminance": 0.59478
}

Semantic roles & 50–950 ramp

primary
#AFD95A
secondary
#5C3C9B
accent
#1BCA55
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD95A

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

Preview Lab → · Contrast checker → · Palette generator →

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