#AFC74A#AFC74A

#AFC74A is a light, vivid yellow-green. Relative luminance 0.505; OKLCH L 78.7% C 0.152 H 119.3°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#AFC74A
RGBrgb(175, 199, 74)
HSLhsl(72, 53%, 54%)
HSVhsv(72, 63%, 78%)
CMYKcmyk(12.1%, 0%, 62.8%, 22%)
CIE-LABlab(76.35, -25.43, 57.93)
CIE-LCHlch(76.35, 63.27, 113.70°)
OKLaboklab(78.74% -0.0742 0.1324)
OKLCHoklch(78.74% 0.152 119.3)
XYZxyz(39.3393, 50.4554, 14.1437)
Luminance0.5046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC74A #624AC7
analogous
#C7A04A #AFC74A #70C74A
triadic
#AFC74A #4AAFC7 #C74AAF
tetradic
#AFC74A #4AC7A0 #624AC7 #C74A70
square
#AFC74A #4AC7A0 #624AC7 #C74A70
split-complementary
#AFC74A #4A70C7 #A04AC7
monochromatic
#647324 #8CA232 #AFC74A #C4D579 #D8E4A7

Accessibility & contrast

On white

1.89
#AFC74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#AFC74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC74A
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC74A#FFFFFF#000000##000000
##AFC74A1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC3A
Deuteranopia (green-blind)
#D0BD53
Tritanopia (blue-blind)
#B8BDAD
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc74a;
/* rgb */ color: rgb(175, 199, 74);
/* oklch */ color: oklch(78.7% 0.152 119.3);
Tailwind
colors: {
  custom: {
    50: '#cad882',
    500: '#afc74a',
    950: '#000000',
  },
}
SCSS
$custom: #afc74a;
$custom-light: #cad882;
$custom-dark: #000000;
JSON
{
  "hex": "#afc74a",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 74
  },
  "hsl": {
    "h": 71.52,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78736,
    "c": 0.15172,
    "h": 119.3
  },
  "luminance": 0.50455
}

Semantic roles & 50–950 ramp

primary
#AFC74A
secondary
#46397C
accent
#4CDC67
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #AFC74A

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

Preview Lab → · Contrast checker → · Palette generator →

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