#4B971B#4B971B

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

Color values

HEX#4B971B
RGBrgb(75, 151, 27)
HSLhsl(97, 70%, 35%)
HSVhsv(97, 82%, 59%)
CMYKcmyk(50.3%, 0%, 82.1%, 40.8%)
CIE-LABlab(55.79, -44.36, 52.81)
CIE-LCHlch(55.79, 68.97, 130.03°)
OKLaboklab(60.42% -0.1235 0.1166)
OKLCHoklch(60.42% 0.17 136.6)
XYZxyz(14.1657, 23.7072, 4.8662)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B971B #671B97
analogous
#89971B #4B971B #1B9729
triadic
#4B971B #1B4B97 #971B4B
tetradic
#4B971B #1B8997 #671B97 #97291B
square
#4B971B #1B8997 #671B97 #97291B
split-complementary
#4B971B #291B97 #971B89
monochromatic
#172F08 #316312 #4B971B #65CB24 #86DF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B971B#FFFFFF#000000##000000
##4B971B1.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)
#93832A
Tritanopia (blue-blind)
#479180
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4b971b;
/* rgb */ color: rgb(75, 151, 27);
/* oklch */ color: oklch(60.4% 0.170 136.6);
Tailwind
colors: {
  custom: {
    50: '#85b663',
    500: '#4b971b',
    950: '#000000',
  },
}
SCSS
$custom: #4b971b;
$custom-light: #85b663;
$custom-dark: #000000;
JSON
{
  "hex": "#4b971b",
  "rgb": {
    "r": 75,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 96.774,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6042,
    "c": 0.16985,
    "h": 136.6
  },
  "luminance": 0.23708
}

Semantic roles & 50–950 ramp

primary
#4B971B
secondary
#944CC1
accent
#3BECA8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4B971B

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

Preview Lab → · Contrast checker → · Palette generator →

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