#4A971A#4A971A

#4A971A is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 60.4% C 0.171 H 136.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4A971A
RGBrgb(74, 151, 26)
HSLhsl(97, 71%, 35%)
HSVhsv(97, 83%, 59%)
CMYKcmyk(51%, 0%, 82.8%, 40.8%)
CIE-LABlab(55.75, -44.72, 53.04)
CIE-LCHlch(55.75, 69.38, 130.14°)
OKLaboklab(60.37% -0.1244 0.117)
OKLCHoklch(60.37% 0.171 136.8)
XYZxyz(14.0767, 23.6626, 4.8027)
Luminance0.2366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A971A #671A97
analogous
#89971A #4A971A #1A9729
triadic
#4A971A #1A4A97 #971A4A
tetradic
#4A971A #1A8997 #671A97 #97291A
square
#4A971A #1A8997 #671A97 #97291A
split-complementary
#4A971A #291A97 #971A89
monochromatic
#172F08 #306311 #4A971A #64CB23 #84E04B

Accessibility & contrast

On white

3.66
#4A971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#4A971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A971A
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A971A#FFFFFF#000000##000000
##4A971A1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#469180
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4a971a;
/* rgb */ color: rgb(74, 151, 26);
/* oklch */ color: oklch(60.4% 0.171 136.8);
Tailwind
colors: {
  custom: {
    50: '#85b663',
    500: '#4a971a',
    950: '#000000',
  },
}
SCSS
$custom: #4a971a;
$custom-light: #85b663;
$custom-dark: #000000;
JSON
{
  "hex": "#4a971a",
  "rgb": {
    "r": 74,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 96.96,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.6037,
    "c": 0.17079,
    "h": 136.8
  },
  "luminance": 0.23664
}

Semantic roles & 50–950 ramp

primary
#4A971A
secondary
#944BC2
accent
#3AEDA9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A971A

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

Preview Lab → · Contrast checker → · Palette generator →

#4A971A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva