#AFD032#AFD032

#AFD032 is a light, vivid yellow-green. Relative luminance 0.545; OKLCH L 80.6% C 0.178 H 121.1°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#AFD032
RGBrgb(175, 208, 50)
HSLhsl(73, 63%, 51%)
HSVhsv(73, 76%, 82%)
CMYKcmyk(15.9%, 0%, 76%, 18.4%)
CIE-LABlab(78.73, -31.09, 69.12)
CIE-LCHlch(78.73, 75.79, 114.22°)
OKLaboklab(80.6% -0.092 0.1522)
OKLCHoklch(80.6% 0.178 121.1)
XYZxyz(40.8115, 54.4560, 11.3780)
Luminance0.5446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD032 #5332D0
analogous
#D0A232 #AFD032 #60D032
triadic
#AFD032 #32AFD0 #D032AF
tetradic
#AFD032 #32D0A2 #5332D0 #D03260
square
#AFD032 #32D0A2 #5332D0 #D03260
split-complementary
#AFD032 #3260D0 #A232D0
monochromatic
#5D6E19 #86A025 #AFD032 #C2DB64 #D6E796

Accessibility & contrast

On white

1.77
#AFD032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#AFD032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD032
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD032#FFFFFF#000000##000000
##AFD0321.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC305
Deuteranopia (green-blind)
#D9C341
Tritanopia (blue-blind)
#B9C5B2
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afd032;
/* rgb */ color: rgb(175, 208, 50);
/* oklch */ color: oklch(80.6% 0.178 121.1);
Tailwind
colors: {
  custom: {
    50: '#cbde76',
    500: '#afd032',
    950: '#000000',
  },
}
SCSS
$custom: #afd032;
$custom-light: #cbde76;
$custom-dark: #000000;
JSON
{
  "hex": "#afd032",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 50
  },
  "hsl": {
    "h": 72.532,
    "s": 62.698,
    "l": 50.588
  },
  "oklch": {
    "l": 0.80602,
    "c": 0.17785,
    "h": 121.1
  },
  "luminance": 0.54456
}

Semantic roles & 50–950 ramp

primary
#AFD032
secondary
#3E2F78
accent
#42E664
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #AFD032

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

Preview Lab → · Contrast checker → · Palette generator →

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