#AFD03A#AFD03A

#AFD03A is a light, vivid yellow-green. Relative luminance 0.545; OKLCH L 80.7% C 0.173 H 121.4°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#AFD03A
RGBrgb(175, 208, 58)
HSLhsl(73, 61%, 52%)
HSVhsv(73, 72%, 82%)
CMYKcmyk(15.9%, 0%, 72.1%, 18.4%)
CIE-LABlab(78.77, -30.70, 66.54)
CIE-LCHlch(78.77, 73.28, 114.77°)
OKLaboklab(80.65% -0.0903 0.1481)
OKLCHoklch(80.65% 0.173 121.4)
XYZxyz(40.9994, 54.5312, 12.3678)
Luminance0.5453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD03A #5B3AD0
analogous
#D0A63A #AFD03A #64D03A
triadic
#AFD03A #3AAFD0 #D03AAF
tetradic
#AFD03A #3AD0A6 #5B3AD0 #D03A64
square
#AFD03A #3AD0A6 #5B3AD0 #D03A64
split-complementary
#AFD03A #3A64D0 #A63AD0
monochromatic
#61741C #8AA527 #AFD03A #C3DC6B #D7E89D

Accessibility & contrast

On white

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

On black

11.91
#AFD03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD03A
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD03A#FFFFFF#000000##000000
##AFD03A1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd03a;
/* rgb */ color: rgb(175, 208, 58);
/* oklch */ color: oklch(80.7% 0.173 121.4);
Tailwind
colors: {
  custom: {
    50: '#cade7a',
    500: '#afd03a',
    950: '#000000',
  },
}
SCSS
$custom: #afd03a;
$custom-light: #cade7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd03a",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 58
  },
  "hsl": {
    "h": 73.2,
    "s": 61.475,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80651,
    "c": 0.17342,
    "h": 121.4
  },
  "luminance": 0.54531
}

Semantic roles & 50–950 ramp

primary
#AFD03A
secondary
#42327D
accent
#43E567
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD03A

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

Preview Lab → · Contrast checker → · Palette generator →

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