#AFD74A#AFD74A

#AFD74A is a very light, vivid yellow-green. Relative luminance 0.582; OKLCH L 82.4% C 0.171 H 123.8°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#AFD74A
RGBrgb(175, 215, 74)
HSLhsl(77, 64%, 57%)
HSVhsv(77, 66%, 84%)
CMYKcmyk(18.6%, 0%, 65.6%, 15.7%)
CIE-LABlab(80.85, -33.00, 62.71)
CIE-LCHlch(80.85, 70.86, 117.76°)
OKLaboklab(82.37% -0.0952 0.1424)
OKLCHoklch(82.37% 0.171 123.8)
XYZxyz(43.2160, 58.2090, 15.4359)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD74A #724AD7
analogous
#D7B84A #AFD74A #69D74A
triadic
#AFD74A #4AAFD7 #D74AAF
tetradic
#AFD74A #4AD7B8 #724AD7 #D74A69
square
#AFD74A #4AD7B8 #724AD7 #D74A69
split-complementary
#AFD74A #4A69D7 #B84AD7
monochromatic
#6A881E #91BB29 #AFD74A #C5E27C #DBEDAE

Accessibility & contrast

On white

1.66
#AFD74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#AFD74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD74A
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD74A#FFFFFF#000000##000000
##AFD74A1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA37
Deuteranopia (green-blind)
#DDC855
Tritanopia (blue-blind)
#B7CDBA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd74a;
/* rgb */ color: rgb(175, 215, 74);
/* oklch */ color: oklch(82.4% 0.171 123.8);
Tailwind
colors: {
  custom: {
    50: '#cae383',
    500: '#afd74a',
    950: '#000000',
  },
}
SCSS
$custom: #afd74a;
$custom-light: #cae383;
$custom-dark: #000000;
JSON
{
  "hex": "#afd74a",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 74
  },
  "hsl": {
    "h": 77.021,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82367,
    "c": 0.17129,
    "h": 123.8
  },
  "luminance": 0.58209
}

Semantic roles & 50–950 ramp

primary
#AFD74A
secondary
#50378F
accent
#41E770
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD74A

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

Preview Lab → · Contrast checker → · Palette generator →

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