#AFFA87#AFFA87

#AFFA87 is a very light, vivid yellow-green. Relative luminance 0.792; OKLCH L 91.1% C 0.165 H 135.6°. Best body text is #000000 at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#AFFA87
RGBrgb(175, 250, 135)
HSLhsl(99, 92%, 75%)
HSVhsv(99, 46%, 98%)
CMYKcmyk(30%, 0%, 46%, 2%)
CIE-LABlab(91.34, -42.91, 47.74)
CIE-LCHlch(91.34, 64.19, 131.95°)
OKLaboklab(91.05% -0.118 0.1156)
OKLCHoklch(91.05% 0.165 135.6)
XYZxyz(56.2366, 79.2324, 35.2473)
Luminance0.7923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA87 #D287FA
analogous
#E9FA87 #AFFA87 #87FA98
triadic
#AFFA87 #87AFFA #FA87AF
tetradic
#AFFA87 #87E9FA #D287FA #FA9887
square
#AFFA87 #87E9FA #D287FA #FA9887
split-complementary
#AFFA87 #9887FA #FA87E9
monochromatic
#61F511 #88F84C #AFFA87 #D6FCC2 #EBFEE2

Accessibility & contrast

On white

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

On black

16.85
#AFFA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFA87
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFA87#FFFFFF#000000##000000
##AFFA871.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #affa87;
/* rgb */ color: rgb(175, 250, 135);
/* oklch */ color: oklch(91.1% 0.165 135.6);
Tailwind
colors: {
  custom: {
    50: '#cafcac',
    500: '#affa87',
    950: '#000000',
  },
}
SCSS
$custom: #affa87;
$custom-light: #cafcac;
$custom-dark: #000000;
JSON
{
  "hex": "#affa87",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 135
  },
  "hsl": {
    "h": 99.13,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.91053,
    "c": 0.16517,
    "h": 135.6
  },
  "luminance": 0.79234
}

Semantic roles & 50–950 ramp

primary
#AFFA87
secondary
#A84DD8
accent
#00E696
background
#FEFFFD
surface
#FAFFF7
border
#D3D7D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFFA87

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

Preview Lab → · Contrast checker → · Palette generator →

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