#AFE058#AFE058

#AFE058 is a very light, vivid yellow-green. Relative luminance 0.631; OKLCH L 84.5% C 0.172 H 126.6°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#AFE058
RGBrgb(175, 224, 88)
HSLhsl(82, 69%, 61%)
HSVhsv(82, 61%, 88%)
CMYKcmyk(21.9%, 0%, 60.7%, 12.2%)
CIE-LABlab(83.51, -36.09, 59.83)
CIE-LCHlch(83.51, 69.87, 121.10°)
OKLaboklab(84.55% -0.1025 0.1381)
OKLCHoklch(84.55% 0.172 126.6)
XYZxyz(46.0963, 63.1292, 18.9872)
Luminance0.6313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE058 #8958E0
analogous
#E0CD58 #AFE058 #6BE058
triadic
#AFE058 #58AFE0 #E058AF
tetradic
#AFE058 #58E0CD #8958E0 #E0586B
square
#AFE058 #58E0CD #8958E0 #E0586B
split-complementary
#AFE058 #586BE0 #CD58E0
monochromatic
#71A01E #95D427 #AFE058 #C8EA8C #E0F3BF

Accessibility & contrast

On white

1.54
#AFE058 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#AFE058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE058
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE058#FFFFFF#000000##000000
##AFE0581.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD248
Deuteranopia (green-blind)
#E4CF62
Tritanopia (blue-blind)
#B5D6C3
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe058;
/* rgb */ color: rgb(175, 224, 88);
/* oklch */ color: oklch(84.5% 0.172 126.6);
Tailwind
colors: {
  custom: {
    50: '#caea8c',
    500: '#afe058',
    950: '#000000',
  },
}
SCSS
$custom: #afe058;
$custom-light: #caea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afe058",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 88
  },
  "hsl": {
    "h": 81.618,
    "s": 68.687,
    "l": 61.176
  },
  "oklch": {
    "l": 0.8455,
    "c": 0.17198,
    "h": 126.6
  },
  "luminance": 0.6313
}

Semantic roles & 50–950 ramp

primary
#AFE058
secondary
#5F39A3
accent
#15D159
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE058

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

Preview Lab → · Contrast checker → · Palette generator →

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