#4A971B#4A971B

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

Color values

HEX#4A971B
RGBrgb(74, 151, 27)
HSLhsl(97, 70%, 35%)
HSVhsv(97, 82%, 59%)
CMYKcmyk(51%, 0%, 82.1%, 40.8%)
CIE-LABlab(55.75, -44.67, 52.75)
CIE-LCHlch(55.75, 69.13, 130.26°)
OKLaboklab(60.38% -0.1242 0.1165)
OKLCHoklch(60.38% 0.17 136.8)
XYZxyz(14.0881, 23.6672, 4.8626)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A971B #681B97
analogous
#88971B #4A971B #1B972A
triadic
#4A971B #1B4A97 #971B4A
tetradic
#4A971B #1B8897 #681B97 #972A1B
square
#4A971B #1B8897 #681B97 #972A1B
split-complementary
#4A971B #2A1B97 #971B88
monochromatic
#172F08 #316312 #4A971B #63CB24 #85DF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A971B#FFFFFF#000000##000000
##4A971B1.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)
#92832A
Tritanopia (blue-blind)
#459180
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4a971b;
/* rgb */ color: rgb(74, 151, 27);
/* oklch */ color: oklch(60.4% 0.170 136.8);
Tailwind
colors: {
  custom: {
    50: '#85b663',
    500: '#4a971b',
    950: '#000000',
  },
}
SCSS
$custom: #4a971b;
$custom-light: #85b663;
$custom-dark: #000000;
JSON
{
  "hex": "#4a971b",
  "rgb": {
    "r": 74,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 97.258,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60375,
    "c": 0.17034,
    "h": 136.8
  },
  "luminance": 0.23668
}

Semantic roles & 50–950 ramp

primary
#4A971B
secondary
#954CC1
accent
#3BECA9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4A971B

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

Preview Lab → · Contrast checker → · Palette generator →

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