#4E7B31#4E7B31

#4E7B31 is a mid, moderate yellow-green. Relative luminance 0.160; OKLCH L 53.3% C 0.116 H 134.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4E7B31
RGBrgb(78, 123, 49)
HSLhsl(96, 43%, 34%)
HSVhsv(96, 60%, 48%)
CMYKcmyk(36.6%, 0%, 60.2%, 51.8%)
CIE-LABlab(46.98, -29.46, 34.99)
CIE-LCHlch(46.98, 45.74, 130.10°)
OKLaboklab(53.29% -0.0817 0.0821)
OKLCHoklch(53.29% 0.116 134.9)
XYZxyz(10.7790, 16.0069, 5.4268)
Luminance0.1601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B31 #5E317B
analogous
#737B31 #4E7B31 #317B39
triadic
#4E7B31 #314E7B #7B314E
tetradic
#4E7B31 #31737B #5E317B #7B3931
square
#4E7B31 #31737B #5E317B #7B3931
split-complementary
#4E7B31 #39317B #7B3173
monochromatic
#16230E #324F20 #4E7B31 #6AA742 #89C265

Accessibility & contrast

On white

5.00
#4E7B31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4E7B31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7B31
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7B31#FFFFFF#000000##FFFFFF
##4E7B311.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7229
Deuteranopia (green-blind)
#796E36
Tritanopia (blue-blind)
#4D776B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7b31;
/* rgb */ color: rgb(78, 123, 49);
/* oklch */ color: oklch(53.3% 0.116 134.9);
Tailwind
colors: {
  custom: {
    50: '#83a16c',
    500: '#4e7b31',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b31;
$custom-light: #83a16c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b31",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 49
  },
  "hsl": {
    "h": 96.486,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53294,
    "c": 0.11581,
    "h": 134.9
  },
  "luminance": 0.16007
}

Semantic roles & 50–950 ramp

primary
#4E7B31
secondary
#8C5FA9
accent
#55D3A1
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F07
muted
#7C7E7A

Preview Lab

Preview with #4E7B31

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

Preview Lab → · Contrast checker → · Palette generator →

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