#4A971E#4A971E

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

Color values

HEX#4A971E
RGBrgb(74, 151, 30)
HSLhsl(98, 67%, 35%)
HSVhsv(98, 80%, 59%)
CMYKcmyk(51%, 0%, 80.1%, 40.8%)
CIE-LABlab(55.77, -44.50, 51.86)
CIE-LCHlch(55.77, 68.34, 130.64°)
OKLaboklab(60.39% -0.1236 0.1151)
OKLCHoklch(60.39% 0.169 137)
XYZxyz(14.1246, 23.6818, 5.0548)
Luminance0.2368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A971E #6B1E97
analogous
#86971E #4A971E #1E972E
triadic
#4A971E #1E4A97 #971E4A
tetradic
#4A971E #1E8697 #6B1E97 #972E1E
square
#4A971E #1E8697 #6B1E97 #972E1E
split-complementary
#4A971E #2E1E97 #971E86
monochromatic
#18310A #316414 #4A971E #63CA28 #85DD53

Accessibility & contrast

On white

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

On black

5.74
#4A971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A971E
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A971E#FFFFFF#000000##000000
##4A971E1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#459181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4a971e;
/* rgb */ color: rgb(74, 151, 30);
/* oklch */ color: oklch(60.4% 0.169 137.0);
Tailwind
colors: {
  custom: {
    50: '#85b664',
    500: '#4a971e',
    950: '#000000',
  },
}
SCSS
$custom: #4a971e;
$custom-light: #85b664;
$custom-dark: #000000;
JSON
{
  "hex": "#4a971e",
  "rgb": {
    "r": 74,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 98.182,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60392,
    "c": 0.16892,
    "h": 137
  },
  "luminance": 0.23683
}

Semantic roles & 50–950 ramp

primary
#4A971E
secondary
#9851C0
accent
#3EEAAB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A971E

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

Preview Lab → · Contrast checker → · Palette generator →

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