#AFE07F#AFE07F

#AFE07F is a very light, vivid yellow-green. Relative luminance 0.640; OKLCH L 85.0% C 0.136 H 130.7°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#AFE07F
RGBrgb(175, 224, 127)
HSLhsl(90, 61%, 69%)
HSVhsv(90, 43%, 88%)
CMYKcmyk(21.9%, 0%, 43.3%, 12.2%)
CIE-LABlab(83.94, -32.16, 42.35)
CIE-LCHlch(83.94, 53.17, 127.22°)
OKLaboklab(85.04% -0.0886 0.103)
OKLCHoklch(85.04% 0.136 130.7)
XYZxyz(48.1649, 63.9566, 29.8818)
Luminance0.6396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE07F #B07FE0
analogous
#E0E07F #AFE07F #7FE080
triadic
#AFE07F #7FAFE0 #E07FAF
tetradic
#AFE07F #7FE0E0 #B07FE0 #E0807F
square
#AFE07F #7FE0E0 #B07FE0 #E0807F
split-complementary
#AFE07F #807FE0 #E07FE0
monochromatic
#72B82D #90D44E #AFE07F #CEECB0 #EDF8E2

Accessibility & contrast

On white

1.52
#AFE07F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#AFE07F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE07F
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE07F#FFFFFF#000000##000000
##AFE07F1.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D477
Deuteranopia (green-blind)
#E1D084
Tritanopia (blue-blind)
#B2D9C9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe07f;
/* rgb */ color: rgb(175, 224, 127);
/* oklch */ color: oklch(85.0% 0.136 130.7);
Tailwind
colors: {
  custom: {
    50: '#c8eaa5',
    500: '#afe07f',
    950: '#000000',
  },
}
SCSS
$custom: #afe07f;
$custom-light: #c8eaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#afe07f",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 127
  },
  "hsl": {
    "h": 90.309,
    "s": 61.006,
    "l": 68.824
  },
  "oklch": {
    "l": 0.8504,
    "c": 0.13588,
    "h": 130.7
  },
  "luminance": 0.63958
}

Semantic roles & 50–950 ramp

primary
#AFE07F
secondary
#824CB7
accent
#1DC974
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE07F

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

Preview Lab → · Contrast checker → · Palette generator →

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