#AFC73D#AFC73D

#AFC73D is a light, vivid yellow-green. Relative luminance 0.503; OKLCH L 78.6% C 0.161 H 118.9°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#AFC73D
RGBrgb(175, 199, 61)
HSLhsl(70, 55%, 51%)
HSVhsv(70, 69%, 78%)
CMYKcmyk(12.1%, 0%, 69.3%, 22%)
CIE-LABlab(76.25, -26.26, 62.98)
CIE-LCHlch(76.25, 68.23, 112.64°)
OKLaboklab(78.63% -0.0777 0.1411)
OKLCHoklch(78.63% 0.161 118.9)
XYZxyz(38.9457, 50.2980, 12.0708)
Luminance0.5030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC73D #553DC7
analogous
#C79A3D #AFC73D #6AC73D
triadic
#AFC73D #3DAFC7 #C73DAF
tetradic
#AFC73D #3DC79A #553DC7 #C73D6A
square
#AFC73D #3DC79A #553DC7 #C73D6A
split-complementary
#AFC73D #3D6AC7 #9A3DC7
monochromatic
#5E6B1F #879A2D #AFC73D #C3D56C #D6E29C

Accessibility & contrast

On white

1.90
#AFC73D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#AFC73D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC73D
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC73D#FFFFFF#000000##000000
##AFC73D1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC27
Deuteranopia (green-blind)
#D1BD48
Tritanopia (blue-blind)
#B9BCAC
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc73d;
/* rgb */ color: rgb(175, 199, 61);
/* oklch */ color: oklch(78.6% 0.161 118.9);
Tailwind
colors: {
  custom: {
    50: '#cad87b',
    500: '#afc73d',
    950: '#000000',
  },
}
SCSS
$custom: #afc73d;
$custom-light: #cad87b;
$custom-dark: #000000;
JSON
{
  "hex": "#afc73d",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 61
  },
  "hsl": {
    "h": 70.435,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.78628,
    "c": 0.16107,
    "h": 118.9
  },
  "luminance": 0.50298
}

Semantic roles & 50–950 ramp

primary
#AFC73D
secondary
#3F3475
accent
#49DF63
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFC73D

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

Preview Lab → · Contrast checker → · Palette generator →

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