#4E7A31#4E7A31

#4E7A31 is a mid, moderate yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.114 H 134.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4E7A31
RGBrgb(78, 122, 49)
HSLhsl(96, 43%, 34%)
HSVhsv(96, 60%, 48%)
CMYKcmyk(36.1%, 0%, 59.8%, 52.2%)
CIE-LABlab(46.66, -28.99, 34.62)
CIE-LCHlch(46.66, 45.15, 129.94°)
OKLaboklab(53.03% -0.0804 0.0813)
OKLCHoklch(53.03% 0.114 134.7)
XYZxyz(10.6556, 15.7601, 5.3857)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A31 #5D317A
analogous
#727A31 #4E7A31 #317A38
triadic
#4E7A31 #314E7A #7A314E
tetradic
#4E7A31 #31727A #5D317A #7A3831
square
#4E7A31 #31727A #5D317A #7A3831
split-complementary
#4E7A31 #38317A #7A3172
monochromatic
#16230E #324E1F #4E7A31 #6AA643 #89C164

Accessibility & contrast

On white

5.06
#4E7A31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4E7A31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7A31
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7A31#FFFFFF#000000##FFFFFF
##4E7A311.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7129
Deuteranopia (green-blind)
#786D36
Tritanopia (blue-blind)
#4E766A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7a31;
/* rgb */ color: rgb(78, 122, 49);
/* oklch */ color: oklch(53.0% 0.114 134.7);
Tailwind
colors: {
  custom: {
    50: '#82a16c',
    500: '#4e7a31',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a31;
$custom-light: #82a16c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a31",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 49
  },
  "hsl": {
    "h": 96.164,
    "s": 42.69,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53029,
    "c": 0.11433,
    "h": 134.7
  },
  "luminance": 0.15761
}

Semantic roles & 50–950 ramp

primary
#4E7A31
secondary
#8B5EA8
accent
#55D2A1
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F07
muted
#7C7E7A

Preview Lab

Preview with #4E7A31

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

Preview Lab → · Contrast checker → · Palette generator →

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