#AFFC5F#AFFC5F

#AFFC5F is a very light, highly saturated yellow-green. Relative luminance 0.796; OKLCH L 91.0% C 0.202 H 131.6°. Best body text is #000000 at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#AFFC5F
RGBrgb(175, 252, 95)
HSLhsl(89, 96%, 68%)
HSVhsv(89, 62%, 99%)
CMYKcmyk(30.6%, 0%, 62.3%, 1.2%)
CIE-LABlab(91.49, -47.78, 65.68)
CIE-LCHlch(91.49, 81.22, 126.03°)
OKLaboklab(91.04% -0.1341 0.1513)
OKLCHoklch(91.04% 0.202 131.6)
XYZxyz(54.5545, 79.5592, 23.3064)
Luminance0.7956 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC5F #AC5FFC
analogous
#FCFB5F #AFFC5F #60FC5F
triadic
#AFFC5F #5FAFFC #FC5FAF
tetradic
#AFFC5F #5FFCFB #AC5FFC #FC5F60
square
#AFFC5F #5FFCFB #AC5FFC #FC5F60
split-complementary
#AFFC5F #5F60FC #FB5FFC
monochromatic
#72DC04 #91FB23 #AFFC5F #CDFD9B #EBFED7

Accessibility & contrast

On white

1.24
#AFFC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.91
#AFFC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC5F
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC5F#FFFFFF#000000##000000
##AFFC5F1.001.2416.9116.91
#FFFFFF1.241.0021.0021.00
#00000016.9121.001.001.00
##00000016.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA4C
Deuteranopia (green-blind)
#FCE56B
Tritanopia (blue-blind)
#B2F2DB
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affc5f;
/* rgb */ color: rgb(175, 252, 95);
/* oklch */ color: oklch(91.0% 0.202 131.6);
Tailwind
colors: {
  custom: {
    50: '#cbfe92',
    500: '#affc5f',
    950: '#000000',
  },
}
SCSS
$custom: #affc5f;
$custom-light: #cbfe92;
$custom-dark: #000000;
JSON
{
  "hex": "#affc5f",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 95
  },
  "hsl": {
    "h": 89.427,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.91038,
    "c": 0.20219,
    "h": 131.6
  },
  "luminance": 0.79561
}

Semantic roles & 50–950 ramp

primary
#AFFC5F
secondary
#7E2AD5
accent
#00E671
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14180D
muted
#83867F

Preview Lab

Preview with #AFFC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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