#4B7519#4B7519

#4B7519 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.3% C 0.128 H 131.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4B7519
RGBrgb(75, 117, 25)
HSLhsl(87, 65%, 28%)
HSVhsv(87, 79%, 46%)
CMYKcmyk(35.9%, 0%, 78.6%, 54.1%)
CIE-LABlab(44.64, -29.86, 42.97)
CIE-LCHlch(44.64, 52.32, 124.80°)
OKLaboklab(51.28% -0.0846 0.0957)
OKLCHoklch(51.28% 0.128 131.5)
XYZxyz(9.4383, 14.2883, 3.1801)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7519 #431975
analogous
#757119 #4B7519 #1D7519
triadic
#4B7519 #194B75 #75194B
tetradic
#4B7519 #197571 #431975 #75191D
square
#4B7519 #197571 #431975 #75191D
split-complementary
#4B7519 #191D75 #711975
monochromatic
#101905 #2B430E #4B7519 #6BA724 #8BD435

Accessibility & contrast

On white

5.44
#4B7519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4B7519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7519
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7519#FFFFFF#000000##FFFFFF
##4B75191.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C05
Deuteranopia (green-blind)
#756822
Tritanopia (blue-blind)
#4C7064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4b7519;
/* rgb */ color: rgb(75, 117, 25);
/* oklch */ color: oklch(51.3% 0.128 131.5);
Tailwind
colors: {
  custom: {
    50: '#819d5d',
    500: '#4b7519',
    950: '#000000',
  },
}
SCSS
$custom: #4b7519;
$custom-light: #819d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7519",
  "rgb": {
    "r": 75,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 87.391,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51275,
    "c": 0.12769,
    "h": 131.5
  },
  "luminance": 0.14289
}

Semantic roles & 50–950 ramp

primary
#4B7519
secondary
#7040AA
accent
#40E88D
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B7519

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

Preview Lab → · Contrast checker → · Palette generator →

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