#AFFC70#AFFC70

#AFFC70 is a very light, vivid yellow-green. Relative luminance 0.799; OKLCH L 91.2% C 0.189 H 133.0°. Best body text is #000000 at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#AFFC70
RGBrgb(175, 252, 112)
HSLhsl(93, 96%, 71%)
HSVhsv(93, 56%, 99%)
CMYKcmyk(30.6%, 0%, 55.6%, 1.2%)
CIE-LABlab(91.64, -46.27, 58.66)
CIE-LCHlch(91.64, 74.72, 128.27°)
OKLaboklab(91.21% -0.1287 0.138)
OKLCHoklch(91.21% 0.189 133)
XYZxyz(55.4133, 79.9027, 27.8292)
Luminance0.7991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC70 #BD70FC
analogous
#F5FC70 #AFFC70 #70FC77
triadic
#AFFC70 #70AFFC #FC70AF
tetradic
#AFFC70 #70F5FC #BD70FC #FC7770
square
#AFFC70 #70F5FC #BD70FC #FC7770
split-complementary
#AFFC70 #7770FC #FC70F5
monochromatic
#6DED05 #8DFB34 #AFFC70 #D1FDAC #EEFEE1

Accessibility & contrast

On white

1.24
#AFFC70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.98
#AFFC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC70
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC70#FFFFFF#000000##000000
##AFFC701.001.2416.9816.98
#FFFFFF1.241.0021.0021.00
#00000016.9821.001.001.00
##00000016.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB62
Deuteranopia (green-blind)
#FAE57A
Tritanopia (blue-blind)
#B0F3DD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affc70;
/* rgb */ color: rgb(175, 252, 112);
/* oklch */ color: oklch(91.2% 0.189 133.0);
Tailwind
colors: {
  custom: {
    50: '#cafe9d',
    500: '#affc70',
    950: '#000000',
  },
}
SCSS
$custom: #affc70;
$custom-light: #cafe9d;
$custom-dark: #000000;
JSON
{
  "hex": "#affc70",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 112
  },
  "hsl": {
    "h": 93,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91214,
    "c": 0.18871,
    "h": 133
  },
  "luminance": 0.79905
}

Semantic roles & 50–950 ramp

primary
#AFFC70
secondary
#9038D8
accent
#00E67E
background
#FEFFFC
surface
#FBFFF5
border
#D4D7CF
text
#14180F
muted
#838680

Preview Lab

Preview with #AFFC70

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

Preview Lab → · Contrast checker → · Palette generator →

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