#4B7112#4B7112

#4B7112 is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.2% C 0.126 H 129.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4B7112
RGBrgb(75, 113, 18)
HSLhsl(84, 73%, 26%)
HSVhsv(84, 84%, 44%)
CMYKcmyk(33.6%, 0%, 84.1%, 55.7%)
CIE-LABlab(43.29, -28.36, 44.04)
CIE-LCHlch(43.29, 52.38, 122.77°)
OKLaboklab(50.16% -0.081 0.0968)
OKLCHoklch(50.16% 0.126 129.9)
XYZxyz(8.9159, 13.3495, 2.6791)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7112 #381271
analogous
#716712 #4B7112 #1B7112
triadic
#4B7112 #124B71 #71124B
tetradic
#4B7112 #127167 #381271 #71121B
square
#4B7112 #127167 #381271 #71121B
split-complementary
#4B7112 #121B71 #671271
monochromatic
#121A04 #283C0A #4B7112 #6EA61A #91DB23

Accessibility & contrast

On white

5.72
#4B7112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4B7112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7112
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7112#FFFFFF#000000##FFFFFF
##4B71121.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#71651D
Tritanopia (blue-blind)
#4D6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b7112;
/* rgb */ color: rgb(75, 113, 18);
/* oklch */ color: oklch(50.2% 0.126 129.9);
Tailwind
colors: {
  custom: {
    50: '#819a5a',
    500: '#4b7112',
    950: '#000000',
  },
}
SCSS
$custom: #4b7112;
$custom-light: #819a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7112",
  "rgb": {
    "r": 75,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 84,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.50155,
    "c": 0.12621,
    "h": 129.9
  },
  "luminance": 0.1335
}

Semantic roles & 50–950 ramp

primary
#4B7112
secondary
#6437A8
accent
#39EF82
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7112

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

Preview Lab → · Contrast checker → · Palette generator →

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