#AFD53D#AFD53D

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

Color values

HEX#AFD53D
RGBrgb(175, 213, 61)
HSLhsl(75, 64%, 54%)
HSVhsv(75, 71%, 84%)
CMYKcmyk(17.8%, 0%, 71.4%, 16.5%)
CIE-LABlab(80.20, -32.87, 66.89)
CIE-LCHlch(80.20, 74.53, 116.17°)
OKLaboklab(81.81% -0.096 0.1493)
OKLCHoklch(81.81% 0.177 122.7)
XYZxyz(42.3163, 57.0392, 13.1943)
Luminance0.5704 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD53D #633DD5
analogous
#D5AF3D #AFD53D #63D53D
triadic
#AFD53D #3DAFD5 #D53DAF
tetradic
#AFD53D #3DD5AF #633DD5 #D53D63
square
#AFD53D #3DD5AF #633DD5 #D53D63
split-complementary
#AFD53D #3D63D5 #AF3DD5
monochromatic
#647D1B #8DAF26 #AFD53D #C4E06F #D8EBA2

Accessibility & contrast

On white

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

On black

12.41
#AFD53D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD53D
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD53D#FFFFFF#000000##000000
##AFD53D1.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd53d;
/* rgb */ color: rgb(175, 213, 61);
/* oklch */ color: oklch(81.8% 0.177 122.7);
Tailwind
colors: {
  custom: {
    50: '#cbe27c',
    500: '#afd53d',
    950: '#000000',
  },
}
SCSS
$custom: #afd53d;
$custom-light: #cbe27c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd53d",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 61
  },
  "hsl": {
    "h": 75,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81812,
    "c": 0.17748,
    "h": 122.7
  },
  "luminance": 0.57039
}

Semantic roles & 50–950 ramp

primary
#AFD53D
secondary
#473284
accent
#40E76A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD53D

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

Preview Lab → · Contrast checker → · Palette generator →

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