#4E7A34#4E7A34

#4E7A34 is a mid, moderate yellow-green. Relative luminance 0.158; OKLCH L 53.1% C 0.111 H 135.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4E7A34
RGBrgb(78, 122, 52)
HSLhsl(98, 40%, 34%)
HSVhsv(98, 57%, 48%)
CMYKcmyk(36.1%, 0%, 57.4%, 52.2%)
CIE-LABlab(46.69, -28.64, 33.14)
CIE-LCHlch(46.69, 43.80, 130.84°)
OKLaboklab(53.07% -0.0792 0.0784)
OKLCHoklch(53.07% 0.111 135.3)
XYZxyz(10.7210, 15.7862, 5.7303)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A34 #60347A
analogous
#717A34 #4E7A34 #347A3D
triadic
#4E7A34 #344E7A #7A344E
tetradic
#4E7A34 #34717A #60347A #7A3D34
square
#4E7A34 #34717A #60347A #7A3D34
split-complementary
#4E7A34 #3D347A #7A3471
monochromatic
#17240F #334F22 #4E7A34 #69A546 #89BF69

Accessibility & contrast

On white

5.05
#4E7A34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4E7A34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7A34
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7A34#FFFFFF#000000##FFFFFF
##4E7A341.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E712D
Deuteranopia (green-blind)
#786D39
Tritanopia (blue-blind)
#4D766A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7a34;
/* rgb */ color: rgb(78, 122, 52);
/* oklch */ color: oklch(53.1% 0.111 135.3);
Tailwind
colors: {
  custom: {
    50: '#82a16e',
    500: '#4e7a34',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a34;
$custom-light: #82a16e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a34",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 52
  },
  "hsl": {
    "h": 97.714,
    "s": 40.23,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53068,
    "c": 0.11144,
    "h": 135.3
  },
  "luminance": 0.15787
}

Semantic roles & 50–950 ramp

primary
#4E7A34
secondary
#8E63A7
accent
#58D0A3
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0F07
muted
#7C7E7A

Preview Lab

Preview with #4E7A34

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

Preview Lab → · Contrast checker → · Palette generator →

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