#4A971D#4A971D

#4A971D 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#4A971D
RGBrgb(74, 151, 29)
HSLhsl(98, 68%, 35%)
HSVhsv(98, 81%, 59%)
CMYKcmyk(51%, 0%, 80.8%, 40.8%)
CIE-LABlab(55.76, -44.56, 52.16)
CIE-LCHlch(55.76, 68.61, 130.51°)
OKLaboklab(60.39% -0.1238 0.1156)
OKLCHoklch(60.39% 0.169 137)
XYZxyz(14.1120, 23.6768, 4.9886)
Luminance0.2368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A971D #6A1D97
analogous
#87971D #4A971D #1D972D
triadic
#4A971D #1D4A97 #971D4A
tetradic
#4A971D #1D8797 #6A1D97 #972D1D
square
#4A971D #1D8797 #6A1D97 #972D1D
split-complementary
#4A971D #2D1D97 #971D87
monochromatic
#183009 #316413 #4A971D #63CA27 #85DE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A971D#FFFFFF#000000##000000
##4A971D1.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)
#92832B
Tritanopia (blue-blind)
#459181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4a971d;
/* rgb */ color: rgb(74, 151, 29);
/* oklch */ color: oklch(60.4% 0.169 137.0);
Tailwind
colors: {
  custom: {
    50: '#85b664',
    500: '#4a971d',
    950: '#000000',
  },
}
SCSS
$custom: #4a971d;
$custom-light: #85b664;
$custom-dark: #000000;
JSON
{
  "hex": "#4a971d",
  "rgb": {
    "r": 74,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 97.869,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60386,
    "c": 0.16941,
    "h": 137
  },
  "luminance": 0.23678
}

Semantic roles & 50–950 ramp

primary
#4A971D
secondary
#974FC0
accent
#3DEBAB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A971D

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

Preview Lab → · Contrast checker → · Palette generator →

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