#AFFB5F#AFFB5F

#AFFB5F is a very light, highly saturated yellow-green. Relative luminance 0.789; OKLCH L 90.8% C 0.201 H 131.4°. Best body text is #000000 at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#AFFB5F
RGBrgb(175, 251, 95)
HSLhsl(89, 95%, 68%)
HSVhsv(89, 62%, 98%)
CMYKcmyk(30.3%, 0%, 62.2%, 1.6%)
CIE-LABlab(91.20, -47.35, 65.38)
CIE-LCHlch(91.20, 80.72, 125.92°)
OKLaboklab(90.81% -0.133 0.1507)
OKLCHoklch(90.81% 0.201 131.4)
XYZxyz(54.2413, 78.9328, 23.2020)
Luminance0.7893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFB5F #AB5FFB
analogous
#FBF95F #AFFB5F #61FB5F
triadic
#AFFB5F #5FAFFB #FB5FAF
tetradic
#AFFB5F #5FFBF9 #AB5FFB #FB5F61
square
#AFFB5F #5FFBF9 #AB5FFB #FB5F61
split-complementary
#AFFB5F #5F61FB #F95FFB
monochromatic
#73DA05 #91FA23 #AFFB5F #CDFC9B #EBFED6

Accessibility & contrast

On white

1.25
#AFFB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.79
#AFFB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFB5F
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFB5F#FFFFFF#000000##000000
##AFFB5F1.001.2516.7916.79
#FFFFFF1.251.0021.0021.00
#00000016.7921.001.001.00
##00000016.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA4C
Deuteranopia (green-blind)
#FBE46B
Tritanopia (blue-blind)
#B2F1DA
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #affb5f;
/* rgb */ color: rgb(175, 251, 95);
/* oklch */ color: oklch(90.8% 0.201 131.4);
Tailwind
colors: {
  custom: {
    50: '#cbfd92',
    500: '#affb5f',
    950: '#000000',
  },
}
SCSS
$custom: #affb5f;
$custom-light: #cbfd92;
$custom-dark: #000000;
JSON
{
  "hex": "#affb5f",
  "rgb": {
    "r": 175,
    "g": 251,
    "b": 95
  },
  "hsl": {
    "h": 89.231,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.90808,
    "c": 0.20093,
    "h": 131.4
  },
  "luminance": 0.78935
}

Semantic roles & 50–950 ramp

primary
#AFFB5F
secondary
#7D2AD4
accent
#00E670
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFFB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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