#AFE458#AFE458

#AFE458 is a very light, vivid yellow-green. Relative luminance 0.653; OKLCH L 85.5% C 0.177 H 127.4°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#AFE458
RGBrgb(175, 228, 88)
HSLhsl(83, 72%, 62%)
HSVhsv(83, 61%, 89%)
CMYKcmyk(23.2%, 0%, 61.4%, 10.6%)
CIE-LABlab(84.64, -37.89, 61.07)
CIE-LCHlch(84.64, 71.87, 121.82°)
OKLaboklab(85.46% -0.1075 0.1407)
OKLCHoklch(85.46% 0.177 127.4)
XYZxyz(47.1840, 65.3045, 19.3498)
Luminance0.6531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE458 #8D58E4
analogous
#E4D358 #AFE458 #69E458
triadic
#AFE458 #58AFE4 #E458AF
tetradic
#AFE458 #58E4D3 #8D58E4 #E45869
square
#AFE458 #58E4D3 #8D58E4 #E45869
split-complementary
#AFE458 #5869E4 #D358E4
monochromatic
#72A71B #96DB23 #AFE458 #C8ED8D #E1F5C1

Accessibility & contrast

On white

1.49
#AFE458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#AFE458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE458
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE458#FFFFFF#000000##000000
##AFE4581.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD547
Deuteranopia (green-blind)
#E7D262
Tritanopia (blue-blind)
#B5DAC7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe458;
/* rgb */ color: rgb(175, 228, 88);
/* oklch */ color: oklch(85.5% 0.177 127.4);
Tailwind
colors: {
  custom: {
    50: '#caec8d',
    500: '#afe458',
    950: '#000000',
  },
}
SCSS
$custom: #afe458;
$custom-light: #caec8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afe458",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 88
  },
  "hsl": {
    "h": 82.714,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.85464,
    "c": 0.17709,
    "h": 127.4
  },
  "luminance": 0.65305
}

Semantic roles & 50–950 ramp

primary
#AFE458
secondary
#6237A9
accent
#11D45B
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE458

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

Preview Lab → · Contrast checker → · Palette generator →

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