#4E7238#4E7238

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

Color values

HEX#4E7238
RGBrgb(78, 114, 56)
HSLhsl(97, 34%, 33%)
HSVhsv(97, 51%, 45%)
CMYKcmyk(31.6%, 0%, 50.9%, 55.3%)
CIE-LABlab(44.15, -24.21, 27.97)
CIE-LCHlch(44.15, 36.99, 130.88°)
OKLaboklab(51.02% -0.0667 0.0673)
OKLCHoklch(51.02% 0.095 134.7)
XYZxyz(9.8728, 13.9395, 5.9110)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7238 #5C3872
analogous
#6B7238 #4E7238 #38723F
triadic
#4E7238 #384E72 #72384E
tetradic
#4E7238 #386B72 #5C3872 #723F38
square
#4E7238 #386B72 #5C3872 #723F38
split-complementary
#4E7238 #3F3872 #72386B
monochromatic
#162010 #324924 #4E7238 #6A9B4C #89B76D

Accessibility & contrast

On white

5.54
#4E7238 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4E7238 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7238
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7238#FFFFFF#000000##FFFFFF
##4E72381.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7238;
/* rgb */ color: rgb(78, 114, 56);
/* oklch */ color: oklch(51.0% 0.095 134.7);
Tailwind
colors: {
  custom: {
    50: '#819a70',
    500: '#4e7238',
    950: '#000000',
  },
}
SCSS
$custom: #4e7238;
$custom-light: #819a70;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7238",
  "rgb": {
    "r": 78,
    "g": 114,
    "b": 56
  },
  "hsl": {
    "h": 97.241,
    "s": 34.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.51016,
    "c": 0.0948,
    "h": 134.7
  },
  "luminance": 0.1394
}

Semantic roles & 50–950 ramp

primary
#4E7238
secondary
#8A65A1
accent
#5ECAA1
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0A0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7238

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

Preview Lab → · Contrast checker → · Palette generator →

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