#4E7D31#4E7D31

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

Color values

HEX#4E7D31
RGBrgb(78, 125, 49)
HSLhsl(97, 44%, 34%)
HSVhsv(97, 61%, 49%)
CMYKcmyk(37.6%, 0%, 60.8%, 51%)
CIE-LABlab(47.63, -30.41, 35.74)
CIE-LCHlch(47.63, 46.92, 130.39°)
OKLaboklab(53.82% -0.0843 0.0837)
OKLCHoklch(53.82% 0.119 135.2)
XYZxyz(11.0296, 16.5082, 5.5104)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D31 #60317D
analogous
#747D31 #4E7D31 #317D3A
triadic
#4E7D31 #314E7D #7D314E
tetradic
#4E7D31 #31747D #60317D #7D3A31
square
#4E7D31 #31747D #60317D #7D3A31
split-complementary
#4E7D31 #3A317D #7D3174
monochromatic
#17250F #335120 #4E7D31 #69A942 #89C366

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7D31#FFFFFF#000000##FFFFFF
##4E7D311.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)
#817329
Deuteranopia (green-blind)
#7B7037
Tritanopia (blue-blind)
#4D786D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7d31;
/* rgb */ color: rgb(78, 125, 49);
/* oklch */ color: oklch(53.8% 0.119 135.2);
Tailwind
colors: {
  custom: {
    50: '#83a36c',
    500: '#4e7d31',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d31;
$custom-light: #83a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d31",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 97.105,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53824,
    "c": 0.11878,
    "h": 135.2
  },
  "luminance": 0.16509
}

Semantic roles & 50–950 ramp

primary
#4E7D31
secondary
#8E60AA
accent
#54D3A3
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E7D31

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

Preview Lab → · Contrast checker → · Palette generator →

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