#AFFB70#AFFB70

#AFFB70 is a very light, vivid yellow-green. Relative luminance 0.793; OKLCH L 91.0% C 0.187 H 132.9°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#AFFB70
RGBrgb(175, 251, 112)
HSLhsl(93, 95%, 71%)
HSVhsv(93, 55%, 98%)
CMYKcmyk(30.3%, 0%, 55.4%, 1.6%)
CIE-LABlab(91.36, -45.85, 58.34)
CIE-LCHlch(91.36, 74.20, 128.16°)
OKLaboklab(90.99% -0.1275 0.1373)
OKLCHoklch(90.99% 0.187 132.9)
XYZxyz(55.1001, 79.2763, 27.7248)
Luminance0.7928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFB70 #BC70FB
analogous
#F4FB70 #AFFB70 #70FB76
triadic
#AFFB70 #70AFFB #FB70AF
tetradic
#AFFB70 #70F4FB #BC70FB #FB7670
square
#AFFB70 #70F4FB #BC70FB #FB7670
split-complementary
#AFFB70 #7670FB #FB70F4
monochromatic
#6EEA07 #8EF934 #AFFB70 #D0FDAC #EEFEE1

Accessibility & contrast

On white

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

On black

16.86
#AFFB70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFB70
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFB70#FFFFFF#000000##000000
##AFFB701.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA62
Deuteranopia (green-blind)
#F9E47A
Tritanopia (blue-blind)
#B0F2DC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #affb70;
/* rgb */ color: rgb(175, 251, 112);
/* oklch */ color: oklch(91.0% 0.187 132.9);
Tailwind
colors: {
  custom: {
    50: '#cafd9d',
    500: '#affb70',
    950: '#000000',
  },
}
SCSS
$custom: #affb70;
$custom-light: #cafd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#affb70",
  "rgb": {
    "r": 175,
    "g": 251,
    "b": 112
  },
  "hsl": {
    "h": 92.806,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90985,
    "c": 0.18739,
    "h": 132.9
  },
  "luminance": 0.79278
}

Semantic roles & 50–950 ramp

primary
#AFFB70
secondary
#8F39D7
accent
#00E67D
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14170F
muted
#838580

Preview Lab

Preview with #AFFB70

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

Preview Lab → · Contrast checker → · Palette generator →

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