#AFE370#AFE370

#AFE370 is a very light, vivid yellow-green. Relative luminance 0.652; OKLCH L 85.5% C 0.155 H 129.3°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#AFE370
RGBrgb(175, 227, 112)
HSLhsl(87, 67%, 66%)
HSVhsv(87, 51%, 89%)
CMYKcmyk(22.9%, 0%, 50.7%, 11%)
CIE-LABlab(84.60, -35.24, 50.35)
CIE-LCHlch(84.60, 61.46, 124.98°)
OKLaboklab(85.51% -0.0982 0.1199)
OKLCHoklch(85.51% 0.155 129.3)
XYZxyz(48.0725, 65.2210, 25.3823)
Luminance0.6522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE370 #A470E3
analogous
#E3DD70 #AFE370 #76E370
triadic
#AFE370 #70AFE3 #E370AF
tetradic
#AFE370 #70E3DD #A470E3 #E37076
square
#AFE370 #70E3DD #A470E3 #E37076
split-complementary
#AFE370 #7076E3 #DD70E3
monochromatic
#73B523 #92D93D #AFE370 #CCEDA3 #E8F7D6

Accessibility & contrast

On white

1.50
#AFE370 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.04
#AFE370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE370
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE370#FFFFFF#000000##000000
##AFE3701.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD666
Deuteranopia (green-blind)
#E5D277
Tritanopia (blue-blind)
#B3DBC9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe370;
/* rgb */ color: rgb(175, 227, 112);
/* oklch */ color: oklch(85.5% 0.155 129.3);
Tailwind
colors: {
  custom: {
    50: '#c9ec9c',
    500: '#afe370',
    950: '#000000',
  },
}
SCSS
$custom: #afe370;
$custom-light: #c9ec9c;
$custom-dark: #000000;
JSON
{
  "hex": "#afe370",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 112
  },
  "hsl": {
    "h": 87.13,
    "s": 67.251,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85507,
    "c": 0.15499,
    "h": 129.3
  },
  "luminance": 0.65222
}

Semantic roles & 50–950 ramp

primary
#AFE370
secondary
#7641B6
accent
#16CF6A
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE370

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

Preview Lab → · Contrast checker → · Palette generator →

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