#AFE056#AFE056

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

Color values

HEX#AFE056
RGBrgb(175, 224, 86)
HSLhsl(81, 69%, 61%)
HSVhsv(81, 62%, 88%)
CMYKcmyk(21.9%, 0%, 61.6%, 12.2%)
CIE-LABlab(83.49, -36.24, 60.65)
CIE-LCHlch(83.49, 70.66, 120.86°)
OKLaboklab(84.53% -0.1031 0.1396)
OKLCHoklch(84.53% 0.174 126.4)
XYZxyz(46.0146, 63.0965, 18.5569)
Luminance0.6310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE056 #8756E0
analogous
#E0CC56 #AFE056 #6AE056
triadic
#AFE056 #56AFE0 #E056AF
tetradic
#AFE056 #56E0CC #8756E0 #E0566A
square
#AFE056 #56E0CC #8756E0 #E0566A
split-complementary
#AFE056 #566AE0 #CC56E0
monochromatic
#719F1D #95D227 #AFE056 #C7E98A #E0F3BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE056#FFFFFF#000000##000000
##AFE0561.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)
#EBD245
Deuteranopia (green-blind)
#E4CF60
Tritanopia (blue-blind)
#B5D6C3
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe056;
/* rgb */ color: rgb(175, 224, 86);
/* oklch */ color: oklch(84.5% 0.174 126.4);
Tailwind
colors: {
  custom: {
    50: '#caea8b',
    500: '#afe056',
    950: '#000000',
  },
}
SCSS
$custom: #afe056;
$custom-light: #caea8b;
$custom-dark: #000000;
JSON
{
  "hex": "#afe056",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 86
  },
  "hsl": {
    "h": 81.304,
    "s": 69,
    "l": 60.784
  },
  "oklch": {
    "l": 0.8453,
    "c": 0.17356,
    "h": 126.4
  },
  "luminance": 0.63097
}

Semantic roles & 50–950 ramp

primary
#AFE056
secondary
#5E38A2
accent
#15D157
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE056

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

Preview Lab → · Contrast checker → · Palette generator →

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