#AFE06B#AFE06B

#AFE06B is a very light, vivid yellow-green. Relative luminance 0.635; OKLCH L 84.8% C 0.156 H 128.2°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#AFE06B
RGBrgb(175, 224, 107)
HSLhsl(85, 65%, 65%)
HSVhsv(85, 52%, 88%)
CMYKcmyk(21.9%, 0%, 52.2%, 12.2%)
CIE-LABlab(83.70, -34.38, 51.61)
CIE-LCHlch(83.70, 62.01, 123.67°)
OKLaboklab(84.76% -0.0961 0.1223)
OKLCHoklch(84.76% 0.156 128.2)
XYZxyz(46.9884, 63.4860, 23.6855)
Luminance0.6349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE06B #9C6BE0
analogous
#E0D66B #AFE06B #75E06B
triadic
#AFE06B #6BAFE0 #E06BAF
tetradic
#AFE06B #6BE0D6 #9C6BE0 #E06B75
square
#AFE06B #6BE0D6 #9C6BE0 #E06B75
split-complementary
#AFE06B #6B75E0 #D66BE0
monochromatic
#73AC24 #94D538 #AFE06B #CAEB9E #E6F5D0

Accessibility & contrast

On white

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

On black

13.70
#AFE06B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE06B
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE06B#FFFFFF#000000##000000
##AFE06B1.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD360
Deuteranopia (green-blind)
#E3D072
Tritanopia (blue-blind)
#B4D7C6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe06b;
/* rgb */ color: rgb(175, 224, 107);
/* oklch */ color: oklch(84.8% 0.156 128.2);
Tailwind
colors: {
  custom: {
    50: '#c9ea98',
    500: '#afe06b',
    950: '#000000',
  },
}
SCSS
$custom: #afe06b;
$custom-light: #c9ea98;
$custom-dark: #000000;
JSON
{
  "hex": "#afe06b",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 107
  },
  "hsl": {
    "h": 85.128,
    "s": 65.363,
    "l": 64.902
  },
  "oklch": {
    "l": 0.84761,
    "c": 0.15556,
    "h": 128.2
  },
  "luminance": 0.63487
}

Semantic roles & 50–950 ramp

primary
#AFE06B
secondary
#6F41AE
accent
#18CD64
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE06B

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

Preview Lab → · Contrast checker → · Palette generator →

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