#AFD53A#AFD53A

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

Color values

HEX#AFD53A
RGBrgb(175, 213, 58)
HSLhsl(75, 65%, 53%)
HSVhsv(75, 73%, 84%)
CMYKcmyk(17.8%, 0%, 72.8%, 16.5%)
CIE-LABlab(80.18, -33.03, 67.91)
CIE-LCHlch(80.18, 75.52, 115.94°)
OKLaboklab(81.79% -0.0967 0.151)
OKLCHoklch(81.79% 0.179 122.6)
XYZxyz(42.2377, 57.0078, 12.7806)
Luminance0.5701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD53A #603AD5
analogous
#D5AE3A #AFD53A #61D53A
triadic
#AFD53A #3AAFD5 #D53AAF
tetradic
#AFD53A #3AD5AE #603AD5 #D53A61
square
#AFD53A #3AD5AE #603AD5 #D53A61
split-complementary
#AFD53A #3A61D5 #AE3AD5
monochromatic
#637A1A #8CAD25 #AFD53A #C3E06C #D8EB9F

Accessibility & contrast

On white

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

On black

12.40
#AFD53A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD53A
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD53A#FFFFFF#000000##000000
##AFD53A1.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd53a;
/* rgb */ color: rgb(175, 213, 58);
/* oklch */ color: oklch(81.8% 0.179 122.6);
Tailwind
colors: {
  custom: {
    50: '#cbe27b',
    500: '#afd53a',
    950: '#000000',
  },
}
SCSS
$custom: #afd53a;
$custom-light: #cbe27b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd53a",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 58
  },
  "hsl": {
    "h": 74.71,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81792,
    "c": 0.17925,
    "h": 122.6
  },
  "luminance": 0.57008
}

Semantic roles & 50–950 ramp

primary
#AFD53A
secondary
#453182
accent
#40E869
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD53A

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

Preview Lab → · Contrast checker → · Palette generator →

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