#AFD32D#AFD32D

#AFD32D is a light, vivid yellow-green. Relative luminance 0.559; OKLCH L 81.3% C 0.184 H 121.8°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#AFD32D
RGBrgb(175, 211, 45)
HSLhsl(73, 65%, 50%)
HSVhsv(73, 79%, 83%)
CMYKcmyk(17.1%, 0%, 78.7%, 17.3%)
CIE-LABlab(79.55, -32.70, 71.35)
CIE-LCHlch(79.55, 78.49, 114.62°)
OKLaboklab(81.26% -0.0967 0.1561)
OKLCHoklch(81.26% 0.184 121.8)
XYZxyz(41.4478, 55.8919, 11.0868)
Luminance0.5589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD32D #512DD3
analogous
#D3A42D #AFD32D #5CD32D
triadic
#AFD32D #2DAFD3 #D32DAF
tetradic
#AFD32D #2DD3A4 #512DD3 #D32D5C
square
#AFD32D #2DD3A4 #512DD3 #D32D5C
split-complementary
#AFD32D #2D5CD3 #A42DD3
monochromatic
#5C6E17 #85A122 #AFD32D #C2DE60 #D6E892

Accessibility & contrast

On white

1.72
#AFD32D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#AFD32D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD32D
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD32D#FFFFFF#000000##000000
##AFD32D1.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C600
Deuteranopia (green-blind)
#DCC53E
Tritanopia (blue-blind)
#B9C8B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd32d;
/* rgb */ color: rgb(175, 211, 45);
/* oklch */ color: oklch(81.3% 0.184 121.8);
Tailwind
colors: {
  custom: {
    50: '#cbe075',
    500: '#afd32d',
    950: '#000000',
  },
}
SCSS
$custom: #afd32d;
$custom-light: #cbe075;
$custom-dark: #000000;
JSON
{
  "hex": "#afd32d",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 45
  },
  "hsl": {
    "h": 73.012,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.81261,
    "c": 0.18367,
    "h": 121.8
  },
  "luminance": 0.55892
}

Semantic roles & 50–950 ramp

primary
#AFD32D
secondary
#3D2D78
accent
#3FE864
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#141509
muted
#83847D

Preview Lab

Preview with #AFD32D

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

Preview Lab → · Contrast checker → · Palette generator →

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