#AFE06C#AFE06C

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

Color values

HEX#AFE06C
RGBrgb(175, 224, 108)
HSLhsl(85, 65%, 65%)
HSVhsv(85, 52%, 88%)
CMYKcmyk(21.9%, 0%, 51.8%, 12.2%)
CIE-LABlab(83.71, -34.27, 51.16)
CIE-LCHlch(83.71, 61.58, 123.82°)
OKLaboklab(84.77% -0.0958 0.1214)
OKLCHoklch(84.77% 0.155 128.3)
XYZxyz(47.0413, 63.5072, 23.9642)
Luminance0.6351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE06C #9D6CE0
analogous
#E0D76C #AFE06C #75E06C
triadic
#AFE06C #6CAFE0 #E06CAF
tetradic
#AFE06C #6CE0D7 #9D6CE0 #E06C75
square
#AFE06C #6CE0D7 #9D6CE0 #E06C75
split-complementary
#AFE06C #6C75E0 #D76CE0
monochromatic
#73AD25 #93D539 #AFE06C #CBEB9F #E6F5D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE06C#FFFFFF#000000##000000
##AFE06C1.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)
#EAD361
Deuteranopia (green-blind)
#E3D073
Tritanopia (blue-blind)
#B4D7C6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe06c;
/* rgb */ color: rgb(175, 224, 108);
/* oklch */ color: oklch(84.8% 0.155 128.3);
Tailwind
colors: {
  custom: {
    50: '#c9ea99',
    500: '#afe06c',
    950: '#000000',
  },
}
SCSS
$custom: #afe06c;
$custom-light: #c9ea99;
$custom-dark: #000000;
JSON
{
  "hex": "#afe06c",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 108
  },
  "hsl": {
    "h": 85.345,
    "s": 65.169,
    "l": 65.098
  },
  "oklch": {
    "l": 0.84774,
    "c": 0.15463,
    "h": 128.3
  },
  "luminance": 0.63508
}

Semantic roles & 50–950 ramp

primary
#AFE06C
secondary
#7041AF
accent
#18CD65
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE06C

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

Preview Lab → · Contrast checker → · Palette generator →

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