#AFE756#AFE756

#AFE756 is a very light, vivid yellow-green. Relative luminance 0.669; OKLCH L 86.1% C 0.182 H 127.8°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#AFE756
RGBrgb(175, 231, 86)
HSLhsl(83, 75%, 62%)
HSVhsv(83, 63%, 91%)
CMYKcmyk(24.2%, 0%, 62.8%, 9.4%)
CIE-LABlab(85.47, -39.39, 62.80)
CIE-LCHlch(85.47, 74.13, 122.09°)
OKLaboklab(86.13% -0.1118 0.1442)
OKLCHoklch(86.13% 0.182 127.8)
XYZxyz(47.9348, 66.9367, 19.1969)
Luminance0.6694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE756 #8E56E7
analogous
#E7D656 #AFE756 #67E756
triadic
#AFE756 #56AFE7 #E756AF
tetradic
#AFE756 #56E7D6 #8E56E7 #E75667
square
#AFE756 #56E7D6 #8E56E7 #E75667
split-complementary
#AFE756 #5667E7 #D656E7
monochromatic
#72AA18 #96DF20 #AFE756 #C8EF8C #E2F6C1

Accessibility & contrast

On white

1.46
#AFE756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#AFE756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE756
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE756#FFFFFF#000000##000000
##AFE7561.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D844
Deuteranopia (green-blind)
#EAD561
Tritanopia (blue-blind)
#B5DDC9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe756;
/* rgb */ color: rgb(175, 231, 86);
/* oklch */ color: oklch(86.1% 0.182 127.8);
Tailwind
colors: {
  custom: {
    50: '#caef8c',
    500: '#afe756',
    950: '#000000',
  },
}
SCSS
$custom: #afe756;
$custom-light: #caef8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afe756",
  "rgb": {
    "r": 175,
    "g": 231,
    "b": 86
  },
  "hsl": {
    "h": 83.172,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.86132,
    "c": 0.18243,
    "h": 127.8
  },
  "luminance": 0.66938
}

Semantic roles & 50–950 ramp

primary
#AFE756
secondary
#6335AC
accent
#0ED75C
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE756

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

Preview Lab → · Contrast checker → · Palette generator →

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