#AFD53E#AFD53E

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

Color values

HEX#AFD53E
RGBrgb(175, 213, 62)
HSLhsl(75, 64%, 54%)
HSVhsv(75, 71%, 84%)
CMYKcmyk(17.8%, 0%, 70.9%, 16.5%)
CIE-LABlab(80.21, -32.82, 66.55)
CIE-LCHlch(80.21, 74.20, 116.25°)
OKLaboklab(81.82% -0.0957 0.1487)
OKLCHoklch(81.82% 0.177 122.8)
XYZxyz(42.3435, 57.0501, 13.3375)
Luminance0.5705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD53E #643ED5
analogous
#D5AF3E #AFD53E #64D53E
triadic
#AFD53E #3EAFD5 #D53EAF
tetradic
#AFD53E #3ED5AF #643ED5 #D53E64
square
#AFD53E #3ED5AF #643ED5 #D53E64
split-complementary
#AFD53E #3E64D5 #AF3ED5
monochromatic
#657D1B #8DB026 #AFD53E #C4E070 #D9EBA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD53E#FFFFFF#000000##000000
##AFD53E1.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)
#E1C823
Deuteranopia (green-blind)
#DCC74B
Tritanopia (blue-blind)
#B8CAB8
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd53e;
/* rgb */ color: rgb(175, 213, 62);
/* oklch */ color: oklch(81.8% 0.177 122.8);
Tailwind
colors: {
  custom: {
    50: '#cae27d',
    500: '#afd53e',
    950: '#000000',
  },
}
SCSS
$custom: #afd53e;
$custom-light: #cae27d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd53e",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 62
  },
  "hsl": {
    "h": 75.099,
    "s": 64.255,
    "l": 53.922
  },
  "oklch": {
    "l": 0.81819,
    "c": 0.17688,
    "h": 122.8
  },
  "luminance": 0.5705
}

Semantic roles & 50–950 ramp

primary
#AFD53E
secondary
#473285
accent
#41E76A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD53E

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

Preview Lab → · Contrast checker → · Palette generator →

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