#4E7338#4E7338

#4E7338 is a mid, moderate yellow-green. Relative luminance 0.142; OKLCH L 51.3% C 0.096 H 135.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4E7338
RGBrgb(78, 115, 56)
HSLhsl(98, 35%, 34%)
HSVhsv(98, 51%, 45%)
CMYKcmyk(32.2%, 0%, 51.3%, 54.9%)
CIE-LABlab(44.47, -24.71, 28.37)
CIE-LCHlch(44.47, 37.62, 131.06°)
OKLaboklab(51.28% -0.0681 0.0682)
OKLCHoklch(51.28% 0.096 135)
XYZxyz(9.9862, 14.1663, 5.9488)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7338 #5D3873
analogous
#6B7338 #4E7338 #38733F
triadic
#4E7338 #384E73 #73384E
tetradic
#4E7338 #386B73 #5D3873 #733F38
square
#4E7338 #386B73 #5D3873 #733F38
split-complementary
#4E7338 #3F3873 #73386B
monochromatic
#162110 #324A24 #4E7338 #6A9C4C #89B86D

Accessibility & contrast

On white

5.48
#4E7338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4E7338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7338
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7338#FFFFFF#000000##FFFFFF
##4E73381.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B33
Deuteranopia (green-blind)
#71683C
Tritanopia (blue-blind)
#4E6F65
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e7338;
/* rgb */ color: rgb(78, 115, 56);
/* oklch */ color: oklch(51.3% 0.096 135.0);
Tailwind
colors: {
  custom: {
    50: '#819b70',
    500: '#4e7338',
    950: '#000000',
  },
}
SCSS
$custom: #4e7338;
$custom-light: #819b70;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7338",
  "rgb": {
    "r": 78,
    "g": 115,
    "b": 56
  },
  "hsl": {
    "h": 97.627,
    "s": 34.503,
    "l": 33.529
  },
  "oklch": {
    "l": 0.51279,
    "c": 0.09641,
    "h": 135
  },
  "luminance": 0.14167
}

Semantic roles & 50–950 ramp

primary
#4E7338
secondary
#8B66A1
accent
#5DCBA2
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7338

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

Preview Lab → · Contrast checker → · Palette generator →

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