#4E7B38#4E7B38

#4E7B38 is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.4% C 0.109 H 136.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4E7B38
RGBrgb(78, 123, 56)
HSLhsl(100, 37%, 35%)
HSVhsv(100, 54%, 48%)
CMYKcmyk(36.6%, 0%, 54.5%, 51.8%)
CIE-LABlab(47.07, -28.63, 31.52)
CIE-LCHlch(47.07, 42.58, 132.25°)
OKLaboklab(53.39% -0.0789 0.0752)
OKLCHoklch(53.39% 0.109 136.4)
XYZxyz(10.9384, 16.0707, 6.2662)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B38 #65387B
analogous
#6F7B38 #4E7B38 #387B44
triadic
#4E7B38 #384E7B #7B384E
tetradic
#4E7B38 #386F7B #65387B #7B4438
square
#4E7B38 #386F7B #65387B #7B4438
split-complementary
#4E7B38 #44387B #7B386F
monochromatic
#192712 #335125 #4E7B38 #69A54B #89BE70

Accessibility & contrast

On white

4.98
#4E7B38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#4E7B38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7B38
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7B38#FFFFFF#000000##FFFFFF
##4E7B381.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7232
Deuteranopia (green-blind)
#786E3C
Tritanopia (blue-blind)
#4D776C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7b38;
/* rgb */ color: rgb(78, 123, 56);
/* oklch */ color: oklch(53.4% 0.109 136.4);
Tailwind
colors: {
  custom: {
    50: '#82a170',
    500: '#4e7b38',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b38;
$custom-light: #82a170;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b38",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 56
  },
  "hsl": {
    "h": 100.299,
    "s": 37.43,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53389,
    "c": 0.10899,
    "h": 136.4
  },
  "luminance": 0.16071
}

Semantic roles & 50–950 ramp

primary
#4E7B38
secondary
#9268A7
accent
#5ACDA8
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0F07
muted
#7C7E7A

Preview Lab

Preview with #4E7B38

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

Preview Lab → · Contrast checker → · Palette generator →

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