#4E7F38#4E7F38

#4E7F38 is a mid, moderate green. Relative luminance 0.171; OKLCH L 54.4% C 0.115 H 136.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4E7F38
RGBrgb(78, 127, 56)
HSLhsl(101, 39%, 36%)
HSVhsv(101, 56%, 50%)
CMYKcmyk(38.6%, 0%, 55.9%, 50.2%)
CIE-LABlab(48.36, -30.53, 33.07)
CIE-LCHlch(48.36, 45.01, 132.72°)
OKLaboklab(54.45% -0.0841 0.0786)
OKLCHoklch(54.45% 0.115 136.9)
XYZxyz(11.4447, 17.0834, 6.4350)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F38 #69387F
analogous
#717F38 #4E7F38 #387F45
triadic
#4E7F38 #384E7F #7F384E
tetradic
#4E7F38 #38717F #69387F #7F4538
square
#4E7F38 #38717F #69387F #7F4538
split-complementary
#4E7F38 #45387F #7F3871
monochromatic
#1A2A13 #345525 #4E7F38 #68A94B #8AC071

Accessibility & contrast

On white

4.75
#4E7F38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4E7F38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7F38
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7F38#FFFFFF#000000##FFFFFF
##4E7F381.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837531
Deuteranopia (green-blind)
#7C713D
Tritanopia (blue-blind)
#4C7B6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e7f38;
/* rgb */ color: rgb(78, 127, 56);
/* oklch */ color: oklch(54.4% 0.115 136.9);
Tailwind
colors: {
  custom: {
    50: '#83a471',
    500: '#4e7f38',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f38;
$custom-light: #83a471;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f38",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 56
  },
  "hsl": {
    "h": 101.408,
    "s": 38.798,
    "l": 35.882
  },
  "oklch": {
    "l": 0.54446,
    "c": 0.11511,
    "h": 136.9
  },
  "luminance": 0.17084
}

Semantic roles & 50–950 ramp

primary
#4E7F38
secondary
#9669A9
accent
#59CFAA
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #4E7F38

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

Preview Lab → · Contrast checker → · Palette generator →

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