#AFE36B#AFE36B

#AFE36B is a very light, vivid yellow-green. Relative luminance 0.651; OKLCH L 85.4% C 0.160 H 128.8°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#AFE36B
RGBrgb(175, 227, 107)
HSLhsl(86, 68%, 65%)
HSVhsv(86, 53%, 89%)
CMYKcmyk(22.9%, 0%, 52.9%, 11%)
CIE-LABlab(84.54, -35.75, 52.61)
CIE-LCHlch(84.54, 63.60, 124.20°)
OKLaboklab(85.44% -0.1 0.1245)
OKLCHoklch(85.44% 0.16 128.8)
XYZxyz(47.8018, 65.1128, 23.9566)
Luminance0.6511 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE36B #9F6BE3
analogous
#E3DB6B #AFE36B #73E36B
triadic
#AFE36B #6BAFE3 #E36BAF
tetradic
#AFE36B #6BE3DB #9F6BE3 #E36B73
square
#AFE36B #6BE3DB #9F6BE3 #E36B73
split-complementary
#AFE36B #6B73E3 #DB6BE3
monochromatic
#73B222 #93D938 #AFE36B #CBED9E #E7F6D2

Accessibility & contrast

On white

1.50
#AFE36B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.02
#AFE36B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE36B
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE36B#FFFFFF#000000##000000
##AFE36B1.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD560
Deuteranopia (green-blind)
#E5D273
Tritanopia (blue-blind)
#B3DAC8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe36b;
/* rgb */ color: rgb(175, 227, 107);
/* oklch */ color: oklch(85.4% 0.160 128.8);
Tailwind
colors: {
  custom: {
    50: '#c9ec98',
    500: '#afe36b',
    950: '#000000',
  },
}
SCSS
$custom: #afe36b;
$custom-light: #c9ec98;
$custom-dark: #000000;
JSON
{
  "hex": "#afe36b",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 107
  },
  "hsl": {
    "h": 86,
    "s": 68.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.85444,
    "c": 0.15964,
    "h": 128.8
  },
  "luminance": 0.65114
}

Semantic roles & 50–950 ramp

primary
#AFE36B
secondary
#713FB3
accent
#15D066
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE36B

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

Preview Lab → · Contrast checker → · Palette generator →

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