#AFC73A#AFC73A

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

Color values

HEX#AFC73A
RGBrgb(175, 199, 58)
HSLhsl(70, 56%, 50%)
HSVhsv(70, 71%, 78%)
CMYKcmyk(12.1%, 0%, 70.9%, 22%)
CIE-LABlab(76.23, -26.43, 64.05)
CIE-LCHlch(76.23, 69.29, 112.42°)
OKLaboklab(78.61% -0.0785 0.1429)
OKLCHoklch(78.61% 0.163 118.8)
XYZxyz(38.8671, 50.2666, 11.6570)
Luminance0.5027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC73A #523AC7
analogous
#C7993A #AFC73A #68C73A
triadic
#AFC73A #3AAFC7 #C73AAF
tetradic
#AFC73A #3AC799 #523AC7 #C73A68
square
#AFC73A #3AC799 #523AC7 #C73A68
split-complementary
#AFC73A #3A68C7 #993AC7
monochromatic
#5C691E #86982B #AFC73A #C2D56A #D6E299

Accessibility & contrast

On white

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

On black

11.05
#AFC73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC73A
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC73A#FFFFFF#000000##000000
##AFC73A1.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC21
Deuteranopia (green-blind)
#D1BD46
Tritanopia (blue-blind)
#B9BCAB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc73a;
/* rgb */ color: rgb(175, 199, 58);
/* oklch */ color: oklch(78.6% 0.163 118.8);
Tailwind
colors: {
  custom: {
    50: '#cad879',
    500: '#afc73a',
    950: '#000000',
  },
}
SCSS
$custom: #afc73a;
$custom-light: #cad879;
$custom-dark: #000000;
JSON
{
  "hex": "#afc73a",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 58
  },
  "hsl": {
    "h": 70.213,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78606,
    "c": 0.16299,
    "h": 118.8
  },
  "luminance": 0.50266
}

Semantic roles & 50–950 ramp

primary
#AFC73A
secondary
#3D3273
accent
#49DF62
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFC73A

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

Preview Lab → · Contrast checker → · Palette generator →

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