#AFE758#AFE758

#AFE758 is a very light, vivid yellow-green. Relative luminance 0.670; OKLCH L 86.2% C 0.181 H 127.9°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#AFE758
RGBrgb(175, 231, 88)
HSLhsl(83, 75%, 63%)
HSVhsv(83, 62%, 91%)
CMYKcmyk(24.2%, 0%, 61.9%, 9.4%)
CIE-LABlab(85.49, -39.23, 62.00)
CIE-LCHlch(85.49, 73.37, 122.32°)
OKLaboklab(86.15% -0.1112 0.1427)
OKLCHoklch(86.15% 0.181 127.9)
XYZxyz(48.0165, 66.9694, 19.6273)
Luminance0.6697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE758 #9058E7
analogous
#E7D858 #AFE758 #67E758
triadic
#AFE758 #58AFE7 #E758AF
tetradic
#AFE758 #58E7D8 #9058E7 #E75867
square
#AFE758 #58E7D8 #9058E7 #E75867
split-complementary
#AFE758 #5867E7 #D858E7
monochromatic
#72AC19 #95DF22 #AFE758 #C9EF8E #E2F6C3

Accessibility & contrast

On white

1.46
#AFE758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#AFE758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE758
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE758#FFFFFF#000000##000000
##AFE7581.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D847
Deuteranopia (green-blind)
#EAD563
Tritanopia (blue-blind)
#B5DDC9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe758;
/* rgb */ color: rgb(175, 231, 88);
/* oklch */ color: oklch(86.2% 0.181 127.9);
Tailwind
colors: {
  custom: {
    50: '#caef8d',
    500: '#afe758',
    950: '#000000',
  },
}
SCSS
$custom: #afe758;
$custom-light: #caef8d;
$custom-dark: #000000;
JSON
{
  "hex": "#afe758",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 88
  },
  "hsl": {
    "h": 83.497,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.86151,
    "c": 0.18091,
    "h": 127.9
  },
  "luminance": 0.6697
}

Semantic roles & 50–950 ramp

primary
#AFE758
secondary
#6536AD
accent
#0ED75D
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160D
muted
#83857F

Preview Lab

Preview with #AFE758

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

Preview Lab → · Contrast checker → · Palette generator →

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