#4E7236#4E7236

#4E7236 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 51.0% C 0.097 H 134.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4E7236
RGBrgb(78, 114, 54)
HSLhsl(96, 36%, 33%)
HSVhsv(96, 53%, 45%)
CMYKcmyk(31.6%, 0%, 52.6%, 55.3%)
CIE-LABlab(44.12, -24.47, 29.02)
CIE-LCHlch(44.12, 37.96, 130.15°)
OKLaboklab(50.99% -0.0676 0.0695)
OKLCHoklch(50.99% 0.097 134.2)
XYZxyz(9.8249, 13.9203, 5.6586)
Luminance0.1392 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7236 #5A3672
analogous
#6C7236 #4E7236 #36723C
triadic
#4E7236 #364E72 #72364E
tetradic
#4E7236 #366C72 #5A3672 #723C36
square
#4E7236 #366C72 #5A3672 #723C36
split-complementary
#4E7236 #3C3672 #72366C
monochromatic
#151F0F #324822 #4E7236 #6A9C4A #89B86A

Accessibility & contrast

On white

5.55
#4E7236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4E7236 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7236
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7236#FFFFFF#000000##FFFFFF
##4E72361.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766A31
Deuteranopia (green-blind)
#71673A
Tritanopia (blue-blind)
#4E6E64
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4e7236;
/* rgb */ color: rgb(78, 114, 54);
/* oklch */ color: oklch(51.0% 0.097 134.2);
Tailwind
colors: {
  custom: {
    50: '#819b6e',
    500: '#4e7236',
    950: '#000000',
  },
}
SCSS
$custom: #4e7236;
$custom-light: #819b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7236",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 54
  },
  "hsl": {
    "h": 96,
    "s": 35.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.50985,
    "c": 0.09696,
    "h": 134.2
  },
  "luminance": 0.13921
}

Semantic roles & 50–950 ramp

primary
#4E7236
secondary
#8863A1
accent
#5CCC9F
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7236

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

Preview Lab → · Contrast checker → · Palette generator →

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