#AFE770#AFE770

#AFE770 is a very light, vivid yellow-green. Relative luminance 0.674; OKLCH L 86.4% C 0.160 H 130.0°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#AFE770
RGBrgb(175, 231, 112)
HSLhsl(88, 71%, 67%)
HSVhsv(88, 52%, 91%)
CMYKcmyk(24.2%, 0%, 51.5%, 9.4%)
CIE-LABlab(85.72, -37.05, 51.70)
CIE-LCHlch(85.72, 63.61, 125.63°)
OKLaboklab(86.42% -0.1032 0.1229)
OKLCHoklch(86.42% 0.16 130)
XYZxyz(49.1792, 67.4345, 25.7512)
Luminance0.6744 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE770 #A870E7
analogous
#E7E370 #AFE770 #74E770
triadic
#AFE770 #70AFE7 #E770AF
tetradic
#AFE770 #70E7E3 #A870E7 #E77074
square
#AFE770 #70E7E3 #A870E7 #E77074
split-complementary
#AFE770 #7074E7 #E370E7
monochromatic
#73BD20 #92DE3C #AFE770 #CCF0A4 #EAF9D9

Accessibility & contrast

On white

1.45
#AFE770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.49
#AFE770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE770
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE770#FFFFFF#000000##000000
##AFE7701.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D965
Deuteranopia (green-blind)
#E8D578
Tritanopia (blue-blind)
#B2DECC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe770;
/* rgb */ color: rgb(175, 231, 112);
/* oklch */ color: oklch(86.4% 0.160 130.0);
Tailwind
colors: {
  custom: {
    50: '#c9ef9c',
    500: '#afe770',
    950: '#000000',
  },
}
SCSS
$custom: #afe770;
$custom-light: #c9ef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#afe770",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 112
  },
  "hsl": {
    "h": 88.235,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86416,
    "c": 0.16049,
    "h": 130
  },
  "luminance": 0.67436
}

Semantic roles & 50–950 ramp

primary
#AFE770
secondary
#7A3FBC
accent
#12D36D
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160E
muted
#83857F

Preview Lab

Preview with #AFE770

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

Preview Lab → · Contrast checker → · Palette generator →

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