#4E7E34#4E7E34

#4E7E34 is a mid, moderate yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.117 H 135.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4E7E34
RGBrgb(78, 126, 52)
HSLhsl(99, 42%, 35%)
HSVhsv(99, 59%, 49%)
CMYKcmyk(38.1%, 0%, 58.7%, 50.6%)
CIE-LABlab(47.99, -30.54, 34.66)
CIE-LCHlch(47.99, 46.20, 131.38°)
OKLaboklab(54.13% -0.0844 0.0817)
OKLCHoklch(54.13% 0.117 135.9)
XYZxyz(11.2223, 16.7888, 5.8974)
Luminance0.1679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E34 #64347E
analogous
#737E34 #4E7E34 #347E3F
triadic
#4E7E34 #344E7E #7E344E
tetradic
#4E7E34 #34737E #64347E #7E3F34
square
#4E7E34 #34737E #64347E #7E3F34
split-complementary
#4E7E34 #3F347E #7E3473
monochromatic
#182710 #335322 #4E7E34 #69A946 #89C26B

Accessibility & contrast

On white

4.82
#4E7E34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#4E7E34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E34
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E34#FFFFFF#000000##FFFFFF
##4E7E341.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82742D
Deuteranopia (green-blind)
#7B7039
Tritanopia (blue-blind)
#4D7A6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7e34;
/* rgb */ color: rgb(78, 126, 52);
/* oklch */ color: oklch(54.1% 0.117 135.9);
Tailwind
colors: {
  custom: {
    50: '#83a46e',
    500: '#4e7e34',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e34;
$custom-light: #83a46e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e34",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 52
  },
  "hsl": {
    "h": 98.919,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54127,
    "c": 0.11746,
    "h": 135.9
  },
  "luminance": 0.16789
}

Semantic roles & 50–950 ramp

primary
#4E7E34
secondary
#9164AA
accent
#56D1A6
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E7E34

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

Preview Lab → · Contrast checker → · Palette generator →

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