#AFEB62#AFEB62

#AFEB62 is a very light, vivid yellow-green. Relative luminance 0.694; OKLCH L 87.2% C 0.178 H 129.4°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#AFEB62
RGBrgb(175, 235, 98)
HSLhsl(86, 77%, 65%)
HSVhsv(86, 58%, 92%)
CMYKcmyk(25.5%, 0%, 58.3%, 7.8%)
CIE-LABlab(86.71, -40.18, 59.12)
CIE-LCHlch(86.71, 71.48, 124.20°)
OKLaboklab(87.17% -0.113 0.1377)
OKLCHoklch(87.17% 0.178 129.4)
XYZxyz(49.5918, 69.4113, 22.3378)
Luminance0.6941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB62 #9E62EB
analogous
#EBE262 #AFEB62 #6BEB62
triadic
#AFEB62 #62AFEB #EB62AF
tetradic
#AFEB62 #62EBE2 #9E62EB #EB626B
square
#AFEB62 #62EBE2 #9E62EB #EB626B
split-complementary
#AFEB62 #626BEB #E262EB
monochromatic
#73BB18 #93E42C #AFEB62 #CBF298 #E6F9CF

Accessibility & contrast

On white

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

On black

14.88
#AFEB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB62
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB62#FFFFFF#000000##000000
##AFEB621.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC53
Deuteranopia (green-blind)
#EDD86C
Tritanopia (blue-blind)
#B3E2CD
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afeb62;
/* rgb */ color: rgb(175, 235, 98);
/* oklch */ color: oklch(87.2% 0.178 129.4);
Tailwind
colors: {
  custom: {
    50: '#caf193',
    500: '#afeb62',
    950: '#000000',
  },
}
SCSS
$custom: #afeb62;
$custom-light: #caf193;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb62",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 98
  },
  "hsl": {
    "h": 86.277,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.87167,
    "c": 0.1781,
    "h": 129.4
  },
  "luminance": 0.69412
}

Semantic roles & 50–950 ramp

primary
#AFEB62
secondary
#7037BA
accent
#0CDA66
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170D
muted
#83857F

Preview Lab

Preview with #AFEB62

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

Preview Lab → · Contrast checker → · Palette generator →

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