#AFE057#AFE057

#AFE057 is a very light, vivid yellow-green. Relative luminance 0.631; OKLCH L 84.5% C 0.173 H 126.5°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#AFE057
RGBrgb(175, 224, 87)
HSLhsl(81, 69%, 61%)
HSVhsv(81, 61%, 88%)
CMYKcmyk(21.9%, 0%, 61.2%, 12.2%)
CIE-LABlab(83.50, -36.17, 60.24)
CIE-LCHlch(83.50, 70.27, 120.98°)
OKLaboklab(84.54% -0.1028 0.1389)
OKLCHoklch(84.54% 0.173 126.5)
XYZxyz(46.0552, 63.1127, 18.7706)
Luminance0.6311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE057 #8857E0
analogous
#E0CC57 #AFE057 #6AE057
triadic
#AFE057 #57AFE0 #E057AF
tetradic
#AFE057 #57E0CC #8857E0 #E0576A
square
#AFE057 #57E0CC #8857E0 #E0576A
split-complementary
#AFE057 #576AE0 #CC57E0
monochromatic
#719F1D #95D327 #AFE057 #C8EA8B #E0F3BE

Accessibility & contrast

On white

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

On black

13.62
#AFE057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE057
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE057#FFFFFF#000000##000000
##AFE0571.001.5413.6213.62
#FFFFFF1.541.0021.0021.00
#00000013.6221.001.001.00
##00000013.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD247
Deuteranopia (green-blind)
#E4CF61
Tritanopia (blue-blind)
#B5D6C3
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe057;
/* rgb */ color: rgb(175, 224, 87);
/* oklch */ color: oklch(84.5% 0.173 126.5);
Tailwind
colors: {
  custom: {
    50: '#caea8c',
    500: '#afe057',
    950: '#000000',
  },
}
SCSS
$custom: #afe057;
$custom-light: #caea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afe057",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 87
  },
  "hsl": {
    "h": 81.46,
    "s": 68.844,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8454,
    "c": 0.17278,
    "h": 126.5
  },
  "luminance": 0.63113
}

Semantic roles & 50–950 ramp

primary
#AFE057
secondary
#5F39A2
accent
#15D158
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE057

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

Preview Lab → · Contrast checker → · Palette generator →

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