#AFD95E#AFD95E

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

Color values

HEX#AFD95E
RGBrgb(175, 217, 94)
HSLhsl(80, 62%, 61%)
HSVhsv(80, 57%, 85%)
CMYKcmyk(19.4%, 0%, 56.7%, 14.9%)
CIE-LABlab(81.59, -32.37, 55.07)
CIE-LCHlch(81.59, 63.88, 120.44°)
OKLaboklab(83.02% -0.0916 0.1286)
OKLCHoklch(83.02% 0.158 125.5)
XYZxyz(44.5125, 59.5473, 19.7362)
Luminance0.5955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD95E #885ED9
analogous
#D9C55E #AFD95E #71D95E
triadic
#AFD95E #5EAFD9 #D95EAF
tetradic
#AFD95E #5ED9C5 #885ED9 #D95E71
square
#AFD95E #5ED9C5 #885ED9 #D95E71
split-complementary
#AFD95E #5E71D9 #C55ED9
monochromatic
#719924 #95CA30 #AFD95E #C8E590 #E0F0C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD95E#FFFFFF#000000##000000
##AFD95E1.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)
#E4CC51
Deuteranopia (green-blind)
#DECA66
Tritanopia (blue-blind)
#B6D0BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd95e;
/* rgb */ color: rgb(175, 217, 94);
/* oklch */ color: oklch(83.0% 0.158 125.5);
Tailwind
colors: {
  custom: {
    50: '#c9e590',
    500: '#afd95e',
    950: '#000000',
  },
}
SCSS
$custom: #afd95e;
$custom-light: #c9e590;
$custom-dark: #000000;
JSON
{
  "hex": "#afd95e",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 94
  },
  "hsl": {
    "h": 80.488,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83018,
    "c": 0.15792,
    "h": 125.5
  },
  "luminance": 0.59548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD95E

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

Preview Lab → · Contrast checker → · Palette generator →

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