#AFE06F#AFE06F

#AFE06F is a very light, vivid yellow-green. Relative luminance 0.636; OKLCH L 84.8% C 0.152 H 128.6°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#AFE06F
RGBrgb(175, 224, 111)
HSLhsl(86, 65%, 66%)
HSVhsv(86, 50%, 88%)
CMYKcmyk(21.9%, 0%, 50.4%, 12.2%)
CIE-LABlab(83.74, -33.97, 49.80)
CIE-LCHlch(83.74, 60.28, 124.30°)
OKLaboklab(84.81% -0.0947 0.1186)
OKLCHoklch(84.81% 0.152 128.6)
XYZxyz(47.2037, 63.5721, 24.8196)
Luminance0.6357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE06F #A06FE0
analogous
#E0D86F #AFE06F #76E06F
triadic
#AFE06F #6FAFE0 #E06FAF
tetradic
#AFE06F #6FE0D8 #A06FE0 #E06F76
square
#AFE06F #6FE0D8 #A06FE0 #E06F76
split-complementary
#AFE06F #6F76E0 #D86FE0
monochromatic
#73AF26 #93D53D #AFE06F #CBEBA1 #E7F6D4

Accessibility & contrast

On white

1.53
#AFE06F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#AFE06F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE06F
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE06F#FFFFFF#000000##000000
##AFE06F1.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D365
Deuteranopia (green-blind)
#E2D076
Tritanopia (blue-blind)
#B3D8C6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe06f;
/* rgb */ color: rgb(175, 224, 111);
/* oklch */ color: oklch(84.8% 0.152 128.6);
Tailwind
colors: {
  custom: {
    50: '#c9ea9b',
    500: '#afe06f',
    950: '#000000',
  },
}
SCSS
$custom: #afe06f;
$custom-light: #c9ea9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afe06f",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 111
  },
  "hsl": {
    "h": 86.018,
    "s": 64.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.84812,
    "c": 0.15181,
    "h": 128.6
  },
  "luminance": 0.63573
}

Semantic roles & 50–950 ramp

primary
#AFE06F
secondary
#7243B1
accent
#19CC67
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE06F

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

Preview Lab → · Contrast checker → · Palette generator →

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