#AFD95D#AFD95D

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

Color values

HEX#AFD95D
RGBrgb(175, 217, 93)
HSLhsl(80, 62%, 61%)
HSVhsv(80, 57%, 85%)
CMYKcmyk(19.4%, 0%, 57.1%, 14.9%)
CIE-LABlab(81.58, -32.46, 55.51)
CIE-LCHlch(81.58, 64.30, 120.31°)
OKLaboklab(83.01% -0.092 0.1294)
OKLCHoklch(83.01% 0.159 125.4)
XYZxyz(44.4679, 59.5295, 19.5014)
Luminance0.5953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD95D #875DD9
analogous
#D9C55D #AFD95D #71D95D
triadic
#AFD95D #5DAFD9 #D95DAF
tetradic
#AFD95D #5DD9C5 #875DD9 #D95D71
square
#AFD95D #5DD9C5 #875DD9 #D95D71
split-complementary
#AFD95D #5D71D9 #C55DD9
monochromatic
#719824 #95CA2F #AFD95D #C7E58F #E0F0C0

Accessibility & contrast

On white

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

On black

12.91
#AFD95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD95D
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD95D#FFFFFF#000000##000000
##AFD95D1.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC50
Deuteranopia (green-blind)
#DECA65
Tritanopia (blue-blind)
#B6D0BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd95d;
/* rgb */ color: rgb(175, 217, 93);
/* oklch */ color: oklch(83.0% 0.159 125.4);
Tailwind
colors: {
  custom: {
    50: '#c9e58f',
    500: '#afd95d',
    950: '#000000',
  },
}
SCSS
$custom: #afd95d;
$custom-light: #c9e58f;
$custom-dark: #000000;
JSON
{
  "hex": "#afd95d",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 93
  },
  "hsl": {
    "h": 80.323,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83007,
    "c": 0.15879,
    "h": 125.4
  },
  "luminance": 0.5953
}

Semantic roles & 50–950 ramp

primary
#AFD95D
secondary
#5E3E9C
accent
#1CCA57
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD95D

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

Preview Lab → · Contrast checker → · Palette generator →

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