#AFDF95#AFDF95

#AFDF95 is a very light, moderate yellow-green. Relative luminance 0.641; OKLCH L 85.2% C 0.111 H 135.0°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#AFDF95
RGBrgb(175, 223, 149)
HSLhsl(99, 54%, 73%)
HSVhsv(99, 33%, 87%)
CMYKcmyk(21.5%, 0%, 33.2%, 12.5%)
CIE-LABlab(84.00, -28.77, 31.37)
CIE-LCHlch(84.00, 42.56, 132.52°)
OKLaboklab(85.19% -0.0784 0.0783)
OKLCHoklch(85.19% 0.111 135)
XYZxyz(49.4905, 64.0581, 38.1849)
Luminance0.6406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF95 #C595DF
analogous
#D4DF95 #AFDF95 #95DFA0
triadic
#AFDF95 #95AFDF #DF95AF
tetradic
#AFDF95 #95D4DF #C595DF #DFA095
square
#AFDF95 #95D4DF #C595DF #DFA095
split-complementary
#AFDF95 #A095DF #DF95D4
monochromatic
#69C03A #8CD166 #AFDF95 #D2EDC4 #EDF8E7

Accessibility & contrast

On white

1.52
#AFDF95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.81
#AFDF95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF95
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF95#FFFFFF#000000##000000
##AFDF951.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D490
Deuteranopia (green-blind)
#DDD099
Tritanopia (blue-blind)
#AFDACC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afdf95;
/* rgb */ color: rgb(175, 223, 149);
/* oklch */ color: oklch(85.2% 0.111 135.0);
Tailwind
colors: {
  custom: {
    50: '#c8e9b4',
    500: '#afdf95',
    950: '#000000',
  },
}
SCSS
$custom: #afdf95;
$custom-light: #c8e9b4;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf95",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 149
  },
  "hsl": {
    "h": 98.919,
    "s": 53.623,
    "l": 72.941
  },
  "oklch": {
    "l": 0.8519,
    "c": 0.11082,
    "h": 135
  },
  "luminance": 0.64059
}

Semantic roles & 50–950 ramp

primary
#AFDF95
secondary
#9961B7
accent
#24C18A
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131611
muted
#828481

Preview Lab

Preview with #AFDF95

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

Preview Lab → · Contrast checker → · Palette generator →

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