#AFD95F#AFD95F

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

Color values

HEX#AFD95F
RGBrgb(175, 217, 95)
HSLhsl(81, 62%, 61%)
HSVhsv(81, 56%, 85%)
CMYKcmyk(19.4%, 0%, 56.2%, 14.9%)
CIE-LABlab(81.60, -32.28, 54.64)
CIE-LCHlch(81.60, 63.46, 120.57°)
OKLaboklab(83.03% -0.0913 0.1278)
OKLCHoklch(83.03% 0.157 125.6)
XYZxyz(44.5577, 59.5654, 19.9741)
Luminance0.5957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD95F #895FD9
analogous
#D9C65F #AFD95F #72D95F
triadic
#AFD95F #5FAFD9 #D95FAF
tetradic
#AFD95F #5FD9C6 #895FD9 #D95F72
square
#AFD95F #5FD9C6 #895FD9 #D95F72
split-complementary
#AFD95F #5F72D9 #C65FD9
monochromatic
#719924 #95CB30 #AFD95F #C8E590 #E0F0C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD95F#FFFFFF#000000##000000
##AFD95F1.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)
#E4CC52
Deuteranopia (green-blind)
#DECA67
Tritanopia (blue-blind)
#B5D0BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd95f;
/* rgb */ color: rgb(175, 217, 95);
/* oklch */ color: oklch(83.0% 0.157 125.6);
Tailwind
colors: {
  custom: {
    50: '#c9e590',
    500: '#afd95f',
    950: '#000000',
  },
}
SCSS
$custom: #afd95f;
$custom-light: #c9e590;
$custom-dark: #000000;
JSON
{
  "hex": "#afd95f",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 80.656,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83029,
    "c": 0.15704,
    "h": 125.6
  },
  "luminance": 0.59566
}

Semantic roles & 50–950 ramp

primary
#AFD95F
secondary
#5F3F9E
accent
#1CC958
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD95F

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

Preview Lab → · Contrast checker → · Palette generator →

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