#AFD536#AFD536

#AFD536 is a light, vivid yellow-green. Relative luminance 0.570; OKLCH L 81.8% C 0.181 H 122.5°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#AFD536
RGBrgb(175, 213, 54)
HSLhsl(74, 65%, 52%)
HSVhsv(74, 75%, 84%)
CMYKcmyk(17.8%, 0%, 74.6%, 16.5%)
CIE-LABlab(80.16, -33.23, 69.21)
CIE-LCHlch(80.16, 76.77, 115.65°)
OKLaboklab(81.77% -0.0975 0.1531)
OKLCHoklch(81.77% 0.181 122.5)
XYZxyz(42.1399, 56.9687, 12.2653)
Luminance0.5697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD536 #5C36D5
analogous
#D5AC36 #AFD536 #5FD536
triadic
#AFD536 #36AFD5 #D536AF
tetradic
#AFD536 #36D5AC #5C36D5 #D5365F
square
#AFD536 #36D5AC #5C36D5 #D5365F
split-complementary
#AFD536 #365FD5 #AC36D5
monochromatic
#617819 #8AAA24 #AFD536 #C3E069 #D7EA9B

Accessibility & contrast

On white

1.69
#AFD536 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#AFD536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD536
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD536#FFFFFF#000000##000000
##AFD5361.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C810
Deuteranopia (green-blind)
#DDC745
Tritanopia (blue-blind)
#B8CAB7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd536;
/* rgb */ color: rgb(175, 213, 54);
/* oklch */ color: oklch(81.8% 0.181 122.5);
Tailwind
colors: {
  custom: {
    50: '#cbe279',
    500: '#afd536',
    950: '#000000',
  },
}
SCSS
$custom: #afd536;
$custom-light: #cbe279;
$custom-dark: #000000;
JSON
{
  "hex": "#afd536",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 54
  },
  "hsl": {
    "h": 74.34,
    "s": 65.432,
    "l": 52.353
  },
  "oklch": {
    "l": 0.81767,
    "c": 0.18148,
    "h": 122.5
  },
  "luminance": 0.56969
}

Semantic roles & 50–950 ramp

primary
#AFD536
secondary
#432F80
accent
#3FE868
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD536

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

Preview Lab → · Contrast checker → · Palette generator →

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