#AFE970#AFE970

#AFE970 is a very light, vivid yellow-green. Relative luminance 0.686; OKLCH L 86.9% C 0.163 H 130.4°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#AFE970
RGBrgb(175, 233, 112)
HSLhsl(89, 73%, 68%)
HSVhsv(89, 52%, 91%)
CMYKcmyk(24.9%, 0%, 51.9%, 8.6%)
CIE-LABlab(86.29, -37.96, 52.37)
CIE-LCHlch(86.29, 64.68, 125.93°)
OKLaboklab(86.87% -0.1057 0.1244)
OKLCHoklch(86.87% 0.163 130.4)
XYZxyz(49.7422, 68.5605, 25.9389)
Luminance0.6856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE970 #AA70E9
analogous
#E9E670 #AFE970 #73E970
triadic
#AFE970 #70AFE9 #E970AF
tetradic
#AFE970 #70E9E6 #AA70E9 #E97073
square
#AFE970 #70E9E6 #AA70E9 #E97073
split-complementary
#AFE970 #7073E9 #E670E9
monochromatic
#73C11E #91E13B #AFE970 #CDF1A5 #EAF9DA

Accessibility & contrast

On white

1.43
#AFE970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#AFE970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE970
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE970#FFFFFF#000000##000000
##AFE9701.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DB65
Deuteranopia (green-blind)
#EAD678
Tritanopia (blue-blind)
#B2E0CE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #afe970;
/* rgb */ color: rgb(175, 233, 112);
/* oklch */ color: oklch(86.9% 0.163 130.4);
Tailwind
colors: {
  custom: {
    50: '#c9f09c',
    500: '#afe970',
    950: '#000000',
  },
}
SCSS
$custom: #afe970;
$custom-light: #c9f09c;
$custom-dark: #000000;
JSON
{
  "hex": "#afe970",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 112
  },
  "hsl": {
    "h": 88.76,
    "s": 73.333,
    "l": 67.647
  },
  "oklch": {
    "l": 0.86872,
    "c": 0.16322,
    "h": 130.4
  },
  "luminance": 0.68562
}

Semantic roles & 50–950 ramp

primary
#AFE970
secondary
#7C3EC0
accent
#10D56F
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE970

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

Preview Lab → · Contrast checker → · Palette generator →

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