#AFE358#AFE358

#AFE358 is a very light, vivid yellow-green. Relative luminance 0.648; OKLCH L 85.2% C 0.176 H 127.2°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#AFE358
RGBrgb(175, 227, 88)
HSLhsl(82, 71%, 62%)
HSVhsv(82, 61%, 89%)
CMYKcmyk(22.9%, 0%, 61.2%, 11%)
CIE-LABlab(84.36, -37.44, 60.76)
CIE-LCHlch(84.36, 71.37, 121.64°)
OKLaboklab(85.24% -0.1062 0.1401)
OKLCHoklch(85.24% 0.176 127.2)
XYZxyz(46.9097, 64.7559, 19.2583)
Luminance0.6476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE358 #8C58E3
analogous
#E3D258 #AFE358 #6AE358
triadic
#AFE358 #58AFE3 #E358AF
tetradic
#AFE358 #58E3D2 #8C58E3 #E3586A
square
#AFE358 #58E3D2 #8C58E3 #E3586A
split-complementary
#AFE358 #586AE3 #D258E3
monochromatic
#72A51C #96D924 #AFE358 #C8EC8C #E1F5C1

Accessibility & contrast

On white

1.51
#AFE358 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#AFE358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE358
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE358#FFFFFF#000000##000000
##AFE3581.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED548
Deuteranopia (green-blind)
#E7D262
Tritanopia (blue-blind)
#B5D9C6
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe358;
/* rgb */ color: rgb(175, 227, 88);
/* oklch */ color: oklch(85.2% 0.176 127.2);
Tailwind
colors: {
  custom: {
    50: '#caec8d',
    500: '#afe358',
    950: '#000000',
  },
}
SCSS
$custom: #afe358;
$custom-light: #caec8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afe358",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 88
  },
  "hsl": {
    "h": 82.446,
    "s": 71.282,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85235,
    "c": 0.17582,
    "h": 127.2
  },
  "luminance": 0.64757
}

Semantic roles & 50–950 ramp

primary
#AFE358
secondary
#6238A7
accent
#12D35A
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE358

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

Preview Lab → · Contrast checker → · Palette generator →

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