#AFFF5F#AFFF5F

#AFFF5F is a very light, highly saturated yellow-green. Relative luminance 0.815; OKLCH L 91.7% C 0.206 H 131.9°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#AFFF5F
RGBrgb(175, 255, 95)
HSLhsl(90, 100%, 69%)
HSVhsv(90, 63%, 100%)
CMYKcmyk(31.4%, 0%, 62.7%, 0%)
CIE-LABlab(92.34, -49.04, 66.61)
CIE-LCHlch(92.34, 82.71, 126.36°)
OKLaboklab(91.73% -0.1376 0.1533)
OKLCHoklch(91.73% 0.206 131.9)
XYZxyz(55.5041, 81.4582, 23.6229)
Luminance0.8146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFF5F #AF5FFF
analogous
#FFFF5F #AFFF5F #5FFF5F
triadic
#AFFF5F #5FAFFF #FF5FAF
tetradic
#AFFF5F #5FFFFF #AF5FFF #FF5F5F
square
#AFFF5F #5FFFFF #AF5FFF #FF5F5F
split-complementary
#AFFF5F #5F5FFF #FF5FFF
monochromatic
#72E400 #90FF22 #AFFF5F #CEFF9C #ECFFD9

Accessibility & contrast

On white

1.21
#AFFF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.29
#AFFF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFF5F
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFF5F#FFFFFF#000000##000000
##AFFF5F1.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED4B
Deuteranopia (green-blind)
#FEE76C
Tritanopia (blue-blind)
#B1F5DE
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #afff5f;
/* rgb */ color: rgb(175, 255, 95);
/* oklch */ color: oklch(91.7% 0.206 131.9);
Tailwind
colors: {
  custom: {
    50: '#cbff93',
    500: '#afff5f',
    950: '#000000',
  },
}
SCSS
$custom: #afff5f;
$custom-light: #cbff93;
$custom-dark: #000000;
JSON
{
  "hex": "#afff5f",
  "rgb": {
    "r": 175,
    "g": 255,
    "b": 95
  },
  "hsl": {
    "h": 90,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.91729,
    "c": 0.20595,
    "h": 131.9
  },
  "luminance": 0.8146
}

Semantic roles & 50–950 ramp

primary
#AFFF5F
secondary
#8129D9
accent
#00E673
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180D
muted
#83867F

Preview Lab

Preview with #AFFF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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