#4A971C#4A971C

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

Color values

HEX#4A971C
RGBrgb(74, 151, 28)
HSLhsl(98, 69%, 35%)
HSVhsv(98, 81%, 59%)
CMYKcmyk(51%, 0%, 81.5%, 40.8%)
CIE-LABlab(55.76, -44.62, 52.46)
CIE-LCHlch(55.76, 68.87, 130.38°)
OKLaboklab(60.38% -0.124 0.1161)
OKLCHoklch(60.38% 0.17 136.9)
XYZxyz(14.0998, 23.6719, 4.9245)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A971C #691C97
analogous
#87971C #4A971C #1C972C
triadic
#4A971C #1C4A97 #971C4A
tetradic
#4A971C #1C8797 #691C97 #972C1C
square
#4A971C #1C8797 #691C97 #972C1C
split-complementary
#4A971C #2C1C97 #971C87
monochromatic
#173009 #316312 #4A971C #63CB26 #85DE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4a971c;
/* rgb */ color: rgb(74, 151, 28);
/* oklch */ color: oklch(60.4% 0.170 136.9);
Tailwind
colors: {
  custom: {
    50: '#85b664',
    500: '#4a971c',
    950: '#000000',
  },
}
SCSS
$custom: #4a971c;
$custom-light: #85b664;
$custom-dark: #000000;
JSON
{
  "hex": "#4a971c",
  "rgb": {
    "r": 74,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 97.561,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60381,
    "c": 0.16988,
    "h": 136.9
  },
  "luminance": 0.23673
}

Semantic roles & 50–950 ramp

primary
#4A971C
secondary
#964EC1
accent
#3CECAA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A971C

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

Preview Lab → · Contrast checker → · Palette generator →

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