#AFD03D#AFD03D

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

Color values

HEX#AFD03D
RGBrgb(175, 208, 61)
HSLhsl(73, 61%, 53%)
HSVhsv(73, 71%, 82%)
CMYKcmyk(15.9%, 0%, 70.7%, 18.4%)
CIE-LABlab(78.79, -30.54, 65.50)
CIE-LCHlch(78.79, 72.27, 115.00°)
OKLaboklab(80.67% -0.0895 0.1464)
OKLCHoklch(80.67% 0.172 121.5)
XYZxyz(41.0780, 54.5626, 12.7815)
Luminance0.5456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD03D #5E3DD0
analogous
#D0A73D #AFD03D #66D03D
triadic
#AFD03D #3DAFD0 #D03DAF
tetradic
#AFD03D #3DD0A7 #5E3DD0 #D03D66
square
#AFD03D #3DD0A7 #5E3DD0 #D03D66
split-complementary
#AFD03D #3D66D0 #A73DD0
monochromatic
#62761D #8BA729 #AFD03D #C3DC6E #D8E8A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD03D#FFFFFF#000000##000000
##AFD03D1.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)
#DDC423
Deuteranopia (green-blind)
#D8C349
Tritanopia (blue-blind)
#B8C5B3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afd03d;
/* rgb */ color: rgb(175, 208, 61);
/* oklch */ color: oklch(80.7% 0.172 121.5);
Tailwind
colors: {
  custom: {
    50: '#cade7c',
    500: '#afd03d',
    950: '#000000',
  },
}
SCSS
$custom: #afd03d;
$custom-light: #cade7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd03d",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 61
  },
  "hsl": {
    "h": 73.469,
    "s": 60.996,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80671,
    "c": 0.17159,
    "h": 121.5
  },
  "luminance": 0.54563
}

Semantic roles & 50–950 ramp

primary
#AFD03D
secondary
#44337E
accent
#44E468
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD03D

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

Preview Lab → · Contrast checker → · Palette generator →

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