#4B7919#4B7919

#4B7919 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.4% C 0.133 H 132.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4B7919
RGBrgb(75, 121, 25)
HSLhsl(89, 66%, 29%)
HSVhsv(89, 79%, 47%)
CMYKcmyk(38%, 0%, 79.3%, 52.5%)
CIE-LABlab(45.96, -31.71, 44.23)
CIE-LCHlch(45.96, 54.42, 125.64°)
OKLaboklab(52.35% -0.0896 0.0983)
OKLCHoklch(52.35% 0.133 132.3)
XYZxyz(9.9144, 15.2404, 3.3388)
Luminance0.1524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B7919 #471979
analogous
#797719 #4B7919 #1B7919
triadic
#4B7919 #194B79 #79194B
tetradic
#4B7919 #197977 #471979 #79191B
square
#4B7919 #197977 #471979 #79191B
split-complementary
#4B7919 #191B79 #771979
monochromatic
#101905 #2C460F #4B7919 #6AAC23 #8AD637

Accessibility & contrast

On white

5.19
#4B7919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4B7919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B7919
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B7919#FFFFFF#000000##FFFFFF
##4B79191.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F02
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#4C7467
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4b7919;
/* rgb */ color: rgb(75, 121, 25);
/* oklch */ color: oklch(52.4% 0.133 132.3);
Tailwind
colors: {
  custom: {
    50: '#82a05e',
    500: '#4b7919',
    950: '#000000',
  },
}
SCSS
$custom: #4b7919;
$custom-light: #82a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#4b7919",
  "rgb": {
    "r": 75,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 88.75,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52351,
    "c": 0.13301,
    "h": 132.3
  },
  "luminance": 0.15241
}

Semantic roles & 50–950 ramp

primary
#4B7919
secondary
#7540AE
accent
#3FE990
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4B7919

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

Preview Lab → · Contrast checker → · Palette generator →

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