#4B971F#4B971F

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

Color values

HEX#4B971F
RGBrgb(75, 151, 31)
HSLhsl(98, 66%, 36%)
HSVhsv(98, 79%, 59%)
CMYKcmyk(50.3%, 0%, 79.5%, 40.8%)
CIE-LABlab(55.81, -44.14, 51.60)
CIE-LCHlch(55.81, 67.90, 130.54°)
OKLaboklab(60.44% -0.1226 0.1147)
OKLCHoklch(60.44% 0.168 136.9)
XYZxyz(14.2152, 23.7270, 5.1268)
Luminance0.2373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B971F #6B1F97
analogous
#87971F #4B971F #1F972F
triadic
#4B971F #1F4B97 #971F4B
tetradic
#4B971F #1F8797 #6B1F97 #972F1F
square
#4B971F #1F8797 #6B1F97 #972F1F
split-complementary
#4B971F #2F1F97 #971F87
monochromatic
#19310A #326415 #4B971F #64CA29 #86DC54

Accessibility & contrast

On white

3.65
#4B971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#4B971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4B971F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B971F#FFFFFF#000000##000000
##4B971F1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b971f;
/* rgb */ color: rgb(75, 151, 31);
/* oklch */ color: oklch(60.4% 0.168 136.9);
Tailwind
colors: {
  custom: {
    50: '#85b665',
    500: '#4b971f',
    950: '#000000',
  },
}
SCSS
$custom: #4b971f;
$custom-light: #85b665;
$custom-dark: #000000;
JSON
{
  "hex": "#4b971f",
  "rgb": {
    "r": 75,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 98,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60443,
    "c": 0.16792,
    "h": 136.9
  },
  "luminance": 0.23728
}

Semantic roles & 50–950 ramp

primary
#4B971F
secondary
#9752BF
accent
#3FE9AB
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4B971F

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

Preview Lab → · Contrast checker → · Palette generator →

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