#AFE062#AFE062

#AFE062 is a very light, vivid yellow-green. Relative luminance 0.633; OKLCH L 84.7% C 0.164 H 127.3°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#AFE062
RGBrgb(175, 224, 98)
HSLhsl(83, 67%, 63%)
HSVhsv(83, 56%, 88%)
CMYKcmyk(21.9%, 0%, 56.3%, 12.2%)
CIE-LABlab(83.60, -35.23, 55.59)
CIE-LCHlch(83.60, 65.82, 122.37°)
OKLaboklab(84.66% -0.0993 0.1301)
OKLCHoklch(84.66% 0.164 127.3)
XYZxyz(46.5393, 63.3064, 21.3203)
Luminance0.6331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE062 #9362E0
analogous
#E0D262 #AFE062 #70E062
triadic
#AFE062 #62AFE0 #E062AF
tetradic
#AFE062 #62E0D2 #9362E0 #E06270
square
#AFE062 #62E0D2 #9362E0 #E06270
split-complementary
#AFE062 #6270E0 #D262E0
monochromatic
#73A721 #95D62F #AFE062 #C9EA95 #E3F4C8

Accessibility & contrast

On white

1.54
#AFE062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#AFE062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE062
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE062#FFFFFF#000000##000000
##AFE0621.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD255
Deuteranopia (green-blind)
#E3CF6A
Tritanopia (blue-blind)
#B4D7C4
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe062;
/* rgb */ color: rgb(175, 224, 98);
/* oklch */ color: oklch(84.7% 0.164 127.3);
Tailwind
colors: {
  custom: {
    50: '#c9ea92',
    500: '#afe062',
    950: '#000000',
  },
}
SCSS
$custom: #afe062;
$custom-light: #c9ea92;
$custom-dark: #000000;
JSON
{
  "hex": "#afe062",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 98
  },
  "hsl": {
    "h": 83.333,
    "s": 67.021,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84655,
    "c": 0.16366,
    "h": 127.3
  },
  "luminance": 0.63307
}

Semantic roles & 50–950 ramp

primary
#AFE062
secondary
#673DA9
accent
#17CF5E
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#13160D
muted
#83847F

Preview Lab

Preview with #AFE062

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

Preview Lab → · Contrast checker → · Palette generator →

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