#4E7D32#4E7D32

#4E7D32 is a mid, moderate yellow-green. Relative luminance 0.165; OKLCH L 53.8% C 0.118 H 135.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4E7D32
RGBrgb(78, 125, 50)
HSLhsl(98, 43%, 34%)
HSVhsv(98, 60%, 49%)
CMYKcmyk(37.6%, 0%, 60%, 51%)
CIE-LABlab(47.65, -30.29, 35.26)
CIE-LCHlch(47.65, 46.48, 130.67°)
OKLaboklab(53.84% -0.0839 0.0828)
OKLCHoklch(53.84% 0.118 135.4)
XYZxyz(11.0510, 16.5167, 5.6228)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D32 #61327D
analogous
#747D32 #4E7D32 #327D3C
triadic
#4E7D32 #324E7D #7D324E
tetradic
#4E7D32 #32747D #61327D #7D3C32
square
#4E7D32 #32747D #61327D #7D3C32
split-complementary
#4E7D32 #3C327D #7D3274
monochromatic
#17260F #335121 #4E7D32 #69A943 #89C267

Accessibility & contrast

On white

4.88
#4E7D32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#4E7D32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7D32
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7D32#FFFFFF#000000##FFFFFF
##4E7D321.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81742A
Deuteranopia (green-blind)
#7B7037
Tritanopia (blue-blind)
#4D796D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7d32;
/* rgb */ color: rgb(78, 125, 50);
/* oklch */ color: oklch(53.8% 0.118 135.4);
Tailwind
colors: {
  custom: {
    50: '#83a36d',
    500: '#4e7d32',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d32;
$custom-light: #83a36d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d32",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 50
  },
  "hsl": {
    "h": 97.6,
    "s": 42.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53837,
    "c": 0.11786,
    "h": 135.4
  },
  "luminance": 0.16517
}

Semantic roles & 50–950 ramp

primary
#4E7D32
secondary
#8F61AA
accent
#55D3A4
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E7D32

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

Preview Lab → · Contrast checker → · Palette generator →

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