#AFEB58#AFEB58

#AFEB58 is a very light, vivid yellow-green. Relative luminance 0.692; OKLCH L 87.1% C 0.186 H 128.6°. Best body text is #000000 at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#AFEB58
RGBrgb(175, 235, 88)
HSLhsl(84, 79%, 63%)
HSVhsv(84, 63%, 92%)
CMYKcmyk(25.5%, 0%, 62.6%, 7.8%)
CIE-LABlab(86.62, -41.00, 63.23)
CIE-LCHlch(86.62, 75.36, 122.96°)
OKLaboklab(87.07% -0.1161 0.1453)
OKLCHoklch(87.07% 0.186 128.6)
XYZxyz(49.1488, 69.2341, 20.0047)
Luminance0.6924 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB58 #9458EB
analogous
#EBDE58 #AFEB58 #65EB58
triadic
#AFEB58 #58AFEB #EB58AF
tetradic
#AFEB58 #58EBDE #9458EB #EB5865
square
#AFEB58 #58EBDE #9458EB #EB5865
split-complementary
#AFEB58 #5865EB #DE58EB
monochromatic
#73B315 #95E421 #AFEB58 #C9F28F #E3F8C5

Accessibility & contrast

On white

1.41
#AFEB58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.85
#AFEB58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB58
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB58#FFFFFF#000000##000000
##AFEB581.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB46
Deuteranopia (green-blind)
#EDD863
Tritanopia (blue-blind)
#B4E1CC
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afeb58;
/* rgb */ color: rgb(175, 235, 88);
/* oklch */ color: oklch(87.1% 0.186 128.6);
Tailwind
colors: {
  custom: {
    50: '#caf18d',
    500: '#afeb58',
    950: '#000000',
  },
}
SCSS
$custom: #afeb58;
$custom-light: #caf18d;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb58",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 88
  },
  "hsl": {
    "h": 84.49,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87068,
    "c": 0.18598,
    "h": 128.6
  },
  "luminance": 0.69235
}

Semantic roles & 50–950 ramp

primary
#AFEB58
secondary
#6834B3
accent
#0BDB60
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEB58

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

Preview Lab → · Contrast checker → · Palette generator →

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