#4B7319#4B7319

#4B7319 is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.7% C 0.125 H 131.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4B7319
RGBrgb(75, 115, 25)
HSLhsl(87, 64%, 27%)
HSVhsv(87, 78%, 45%)
CMYKcmyk(34.8%, 0%, 78.3%, 54.9%)
CIE-LABlab(43.98, -28.91, 42.33)
CIE-LCHlch(43.98, 51.26, 124.34°)
OKLaboklab(50.74% -0.082 0.0944)
OKLCHoklch(50.74% 0.125 131)
XYZxyz(9.2078, 13.8272, 3.1033)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7319 #411973
analogous
#736E19 #4B7319 #1E7319
triadic
#4B7319 #194B73 #73194B
tetradic
#4B7319 #19736E #411973 #73191E
square
#4B7319 #19736E #411973 #73191E
split-complementary
#4B7319 #191E73 #6E1973
monochromatic
#101905 #2A410E #4B7319 #6CA524 #8CD334

Accessibility & contrast

On white

5.58
#4B7319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4B7319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7319
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7319#FFFFFF#000000##FFFFFF
##4B73191.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A06
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#4D6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4b7319;
/* rgb */ color: rgb(75, 115, 25);
/* oklch */ color: oklch(50.7% 0.125 131.0);
Tailwind
colors: {
  custom: {
    50: '#819b5d',
    500: '#4b7319',
    950: '#000000',
  },
}
SCSS
$custom: #4b7319;
$custom-light: #819b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7319",
  "rgb": {
    "r": 75,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 86.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50737,
    "c": 0.12501,
    "h": 131
  },
  "luminance": 0.13828
}

Semantic roles & 50–950 ramp

primary
#4B7319
secondary
#6E40A8
accent
#41E78B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4B7319

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

Preview Lab → · Contrast checker → · Palette generator →

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