#AFEB70#AFEB70

#AFEB70 is a very light, vivid yellow-green. Relative luminance 0.697; OKLCH L 87.3% C 0.166 H 130.7°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#AFEB70
RGBrgb(175, 235, 112)
HSLhsl(89, 75%, 68%)
HSVhsv(89, 52%, 92%)
CMYKcmyk(25.5%, 0%, 52.3%, 7.8%)
CIE-LABlab(86.85, -38.85, 53.04)
CIE-LCHlch(86.85, 65.75, 126.22°)
OKLaboklab(87.33% -0.1082 0.1258)
OKLCHoklch(87.33% 0.166 130.7)
XYZxyz(50.3116, 69.6992, 26.1287)
Luminance0.6970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB70 #AC70EB
analogous
#EBE970 #AFEB70 #71EB70
triadic
#AFEB70 #70AFEB #EB70AF
tetradic
#AFEB70 #70EBE9 #AC70EB #EB7071
square
#AFEB70 #70EBE9 #AC70EB #EB7071
split-complementary
#AFEB70 #7071EB #E970EB
monochromatic
#72C51C #91E33A #AFEB70 #CDF3A6 #EBFADB

Accessibility & contrast

On white

1.41
#AFEB70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.94
#AFEB70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB70
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB70#FFFFFF#000000##000000
##AFEB701.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC65
Deuteranopia (green-blind)
#ECD878
Tritanopia (blue-blind)
#B2E2CF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afeb70;
/* rgb */ color: rgb(175, 235, 112);
/* oklch */ color: oklch(87.3% 0.166 130.7);
Tailwind
colors: {
  custom: {
    50: '#c9f19c',
    500: '#afeb70',
    950: '#000000',
  },
}
SCSS
$custom: #afeb70;
$custom-light: #c9f19c;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb70",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 112
  },
  "hsl": {
    "h": 89.268,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87327,
    "c": 0.16595,
    "h": 130.7
  },
  "luminance": 0.697
}

Semantic roles & 50–950 ramp

primary
#AFEB70
secondary
#7E3CC3
accent
#0ED870
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13170E
muted
#83857F

Preview Lab

Preview with #AFEB70

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

Preview Lab → · Contrast checker → · Palette generator →

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