#AFD037#AFD037

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

Color values

HEX#AFD037
RGBrgb(175, 208, 55)
HSLhsl(73, 62%, 52%)
HSVhsv(73, 74%, 82%)
CMYKcmyk(15.9%, 0%, 73.6%, 18.4%)
CIE-LABlab(78.75, -30.86, 67.54)
CIE-LCHlch(78.75, 74.25, 114.56°)
OKLaboklab(80.63% -0.0909 0.1497)
OKLCHoklch(80.63% 0.175 121.3)
XYZxyz(40.9253, 54.5016, 11.9775)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD037 #5837D0
analogous
#D0A537 #AFD037 #63D037
triadic
#AFD037 #37AFD0 #D037AF
tetradic
#AFD037 #37D0A5 #5837D0 #D03763
square
#AFD037 #37D0A5 #5837D0 #D03763
split-complementary
#AFD037 #3763D0 #A537D0
monochromatic
#5F721B #88A326 #AFD037 #C3DC69 #D7E79A

Accessibility & contrast

On white

1.76
#AFD037 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#AFD037 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD037
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD037#FFFFFF#000000##000000
##AFD0371.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC316
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#B9C5B3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afd037;
/* rgb */ color: rgb(175, 208, 55);
/* oklch */ color: oklch(80.6% 0.175 121.3);
Tailwind
colors: {
  custom: {
    50: '#cbde79',
    500: '#afd037',
    950: '#000000',
  },
}
SCSS
$custom: #afd037;
$custom-light: #cbde79;
$custom-dark: #000000;
JSON
{
  "hex": "#afd037",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 55
  },
  "hsl": {
    "h": 72.941,
    "s": 61.943,
    "l": 51.569
  },
  "oklch": {
    "l": 0.80632,
    "c": 0.17515,
    "h": 121.3
  },
  "luminance": 0.54502
}

Semantic roles & 50–950 ramp

primary
#AFD037
secondary
#40307B
accent
#43E566
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD037

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

Preview Lab → · Contrast checker → · Palette generator →

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