#AFE856#AFE856

#AFE856 is a very light, vivid yellow-green. Relative luminance 0.675; OKLCH L 86.4% C 0.184 H 128.0°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#AFE856
RGBrgb(175, 232, 86)
HSLhsl(83, 76%, 62%)
HSVhsv(83, 63%, 91%)
CMYKcmyk(24.6%, 0%, 62.9%, 9%)
CIE-LABlab(85.75, -39.83, 63.11)
CIE-LCHlch(85.75, 74.63, 122.26°)
OKLaboklab(86.36% -0.113 0.1448)
OKLCHoklch(86.36% 0.184 128)
XYZxyz(48.2154, 67.4981, 19.2905)
Luminance0.6750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE856 #8F56E8
analogous
#E8D856 #AFE856 #66E856
triadic
#AFE856 #56AFE8 #E856AF
tetradic
#AFE856 #56E8D8 #8F56E8 #E85666
square
#AFE856 #56E8D8 #8F56E8 #E85666
split-complementary
#AFE856 #5666E8 #D856E8
monochromatic
#72AC17 #95E120 #AFE856 #C8EF8C #E2F7C2

Accessibility & contrast

On white

1.45
#AFE856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#AFE856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE856
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE856#FFFFFF#000000##000000
##AFE8561.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D944
Deuteranopia (green-blind)
#EBD561
Tritanopia (blue-blind)
#B5DECA
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe856;
/* rgb */ color: rgb(175, 232, 86);
/* oklch */ color: oklch(86.4% 0.184 128.0);
Tailwind
colors: {
  custom: {
    50: '#caef8c',
    500: '#afe856',
    950: '#000000',
  },
}
SCSS
$custom: #afe856;
$custom-light: #caef8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afe856",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 86
  },
  "hsl": {
    "h": 83.425,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.86361,
    "c": 0.18369,
    "h": 128
  },
  "luminance": 0.67499
}

Semantic roles & 50–950 ramp

primary
#AFE856
secondary
#6435AD
accent
#0DD85D
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE856

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

Preview Lab → · Contrast checker → · Palette generator →

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