#AFFA6F#AFFA6F

#AFFA6F is a very light, vivid yellow-green. Relative luminance 0.786; OKLCH L 90.7% C 0.187 H 132.7°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#AFFA6F
RGBrgb(175, 250, 111)
HSLhsl(92, 93%, 71%)
HSVhsv(92, 56%, 98%)
CMYKcmyk(30%, 0%, 55.6%, 2%)
CIE-LABlab(91.07, -45.51, 58.44)
CIE-LCHlch(91.07, 74.07, 127.91°)
OKLaboklab(90.74% -0.1267 0.1374)
OKLCHoklch(90.74% 0.187 132.7)
XYZxyz(54.7332, 78.6310, 27.3294)
Luminance0.7863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA6F #BA6FFA
analogous
#F5FA6F #AFFA6F #6FFA74
triadic
#AFFA6F #6FAFFA #FA6FAF
tetradic
#AFFA6F #6FF5FA #BA6FFA #FA746F
square
#AFFA6F #6FF5FA #BA6FFA #FA746F
split-complementary
#AFFA6F #746FFA #FA6FF5
monochromatic
#6EE708 #8EF834 #AFFA6F #D0FCAA #EFFEE1

Accessibility & contrast

On white

1.26
#AFFA6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.73
#AFFA6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFA6F
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFA6F#FFFFFF#000000##000000
##AFFA6F1.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE961
Deuteranopia (green-blind)
#F9E379
Tritanopia (blue-blind)
#B0F1DB
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #affa6f;
/* rgb */ color: rgb(175, 250, 111);
/* oklch */ color: oklch(90.7% 0.187 132.7);
Tailwind
colors: {
  custom: {
    50: '#cafc9c',
    500: '#affa6f',
    950: '#000000',
  },
}
SCSS
$custom: #affa6f;
$custom-light: #cafc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#affa6f",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 111
  },
  "hsl": {
    "h": 92.374,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.90744,
    "c": 0.18692,
    "h": 132.7
  },
  "luminance": 0.78633
}

Semantic roles & 50–950 ramp

primary
#AFFA6F
secondary
#8D38D5
accent
#00E67C
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFFA6F

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

Preview Lab → · Contrast checker → · Palette generator →

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