#AFFA86#AFFA86

#AFFA86 is a very light, vivid yellow-green. Relative luminance 0.792; OKLCH L 91.0% C 0.166 H 135.4°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#AFFA86
RGBrgb(175, 250, 134)
HSLhsl(99, 92%, 75%)
HSVhsv(99, 46%, 98%)
CMYKcmyk(30%, 0%, 46.4%, 2%)
CIE-LABlab(91.33, -43.03, 48.20)
CIE-LCHlch(91.33, 64.62, 131.76°)
OKLaboklab(91.04% -0.1184 0.1166)
OKLCHoklch(91.04% 0.166 135.4)
XYZxyz(56.1665, 79.2044, 34.8783)
Luminance0.7921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA86 #D186FA
analogous
#E9FA86 #AFFA86 #86FA97
triadic
#AFFA86 #86AFFA #FA86AF
tetradic
#AFFA86 #86E9FA #D186FA #FA9786
square
#AFFA86 #86E9FA #D186FA #FA9786
split-complementary
#AFFA86 #9786FA #FA86E9
monochromatic
#61F510 #88F84B #AFFA86 #D6FCC1 #ECFEE2

Accessibility & contrast

On white

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

On black

16.84
#AFFA86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFA86
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFA86#FFFFFF#000000##000000
##AFFA861.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7C
Deuteranopia (green-blind)
#F7E48D
Tritanopia (blue-blind)
#AEF2DF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #affa86;
/* rgb */ color: rgb(175, 250, 134);
/* oklch */ color: oklch(91.0% 0.166 135.4);
Tailwind
colors: {
  custom: {
    50: '#cafcab',
    500: '#affa86',
    950: '#000000',
  },
}
SCSS
$custom: #affa86;
$custom-light: #cafcab;
$custom-dark: #000000;
JSON
{
  "hex": "#affa86",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 134
  },
  "hsl": {
    "h": 98.793,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.91039,
    "c": 0.16613,
    "h": 135.4
  },
  "luminance": 0.79206
}

Semantic roles & 50–950 ramp

primary
#AFFA86
secondary
#A74CD8
accent
#00E694
background
#FEFFFD
surface
#FBFFF7
border
#D4D7D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFFA86

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

Preview Lab → · Contrast checker → · Palette generator →

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