#AFFA70#AFFA70

#AFFA70 is a very light, vivid yellow-green. Relative luminance 0.787; OKLCH L 90.8% C 0.186 H 132.8°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#AFFA70
RGBrgb(175, 250, 112)
HSLhsl(93, 93%, 71%)
HSVhsv(93, 55%, 98%)
CMYKcmyk(30%, 0%, 55.2%, 2%)
CIE-LABlab(91.08, -45.42, 58.01)
CIE-LCHlch(91.08, 73.67, 128.06°)
OKLaboklab(90.76% -0.1263 0.1366)
OKLCHoklch(90.76% 0.186 132.8)
XYZxyz(54.7886, 78.6532, 27.6210)
Luminance0.7865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFA70 #BB70FA
analogous
#F4FA70 #AFFA70 #70FA76
triadic
#AFFA70 #70AFFA #FA70AF
tetradic
#AFFA70 #70F4FA #BB70FA #FA7670
square
#AFFA70 #70F4FA #BB70FA #FA7670
split-complementary
#AFFA70 #7670FA #FA70F4
monochromatic
#6EE808 #8EF835 #AFFA70 #D0FCAB #EEFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFFA70#FFFFFF#000000##000000
##AFFA701.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)
#FFE962
Deuteranopia (green-blind)
#F9E37A
Tritanopia (blue-blind)
#B0F1DC
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #affa70;
/* rgb */ color: rgb(175, 250, 112);
/* oklch */ color: oklch(90.8% 0.186 132.8);
Tailwind
colors: {
  custom: {
    50: '#cafc9d',
    500: '#affa70',
    950: '#000000',
  },
}
SCSS
$custom: #affa70;
$custom-light: #cafc9d;
$custom-dark: #000000;
JSON
{
  "hex": "#affa70",
  "rgb": {
    "r": 175,
    "g": 250,
    "b": 112
  },
  "hsl": {
    "h": 92.609,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90756,
    "c": 0.18607,
    "h": 132.8
  },
  "luminance": 0.78655
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFFA70

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

Preview Lab → · Contrast checker → · Palette generator →

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