#4B971C#4B971C

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

Color values

HEX#4B971C
RGBrgb(75, 151, 28)
HSLhsl(97, 69%, 35%)
HSVhsv(97, 81%, 59%)
CMYKcmyk(50.3%, 0%, 81.5%, 40.8%)
CIE-LABlab(55.80, -44.31, 52.51)
CIE-LCHlch(55.80, 68.71, 130.15°)
OKLaboklab(60.43% -0.1233 0.1162)
OKLCHoklch(60.43% 0.169 136.7)
XYZxyz(14.1774, 23.7119, 4.9282)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B971C #681C97
analogous
#89971C #4B971C #1C972A
triadic
#4B971C #1C4B97 #971C4B
tetradic
#4B971C #1C8997 #681C97 #972A1C
square
#4B971C #1C8997 #681C97 #972A1C
split-complementary
#4B971C #2A1C97 #971C89
monochromatic
#183009 #316312 #4B971C #65CB26 #86DE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B971C#FFFFFF#000000##000000
##4B971C1.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)
#479181
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4b971c;
/* rgb */ color: rgb(75, 151, 28);
/* oklch */ color: oklch(60.4% 0.169 136.7);
Tailwind
colors: {
  custom: {
    50: '#85b664',
    500: '#4b971c',
    950: '#000000',
  },
}
SCSS
$custom: #4b971c;
$custom-light: #85b664;
$custom-dark: #000000;
JSON
{
  "hex": "#4b971c",
  "rgb": {
    "r": 75,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 97.073,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60425,
    "c": 0.16939,
    "h": 136.7
  },
  "luminance": 0.23713
}

Semantic roles & 50–950 ramp

primary
#4B971C
secondary
#954EC1
accent
#3CECA9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #4B971C

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

Preview Lab → · Contrast checker → · Palette generator →

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