#4E7934#4E7934

#4E7934 is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 52.8% C 0.110 H 135.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4E7934
RGBrgb(78, 121, 52)
HSLhsl(97, 40%, 34%)
HSVhsv(97, 57%, 47%)
CMYKcmyk(35.5%, 0%, 57%, 52.5%)
CIE-LABlab(46.37, -28.16, 32.76)
CIE-LCHlch(46.37, 43.20, 130.69°)
OKLaboklab(52.8% -0.0779 0.0776)
OKLCHoklch(52.8% 0.11 135.1)
XYZxyz(10.5988, 15.5419, 5.6896)
Luminance0.1554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7934 #5F3479
analogous
#717934 #4E7934 #34793D
triadic
#4E7934 #344E79 #79344E
tetradic
#4E7934 #347179 #5F3479 #793D34
square
#4E7934 #347179 #5F3479 #793D34
split-complementary
#4E7934 #3D3479 #793471
monochromatic
#17230F #324E22 #4E7934 #6AA446 #89BE69

Accessibility & contrast

On white

5.11
#4E7934 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#4E7934 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7934
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7934#FFFFFF#000000##FFFFFF
##4E79341.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D702D
Deuteranopia (green-blind)
#776D39
Tritanopia (blue-blind)
#4D756A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7934;
/* rgb */ color: rgb(78, 121, 52);
/* oklch */ color: oklch(52.8% 0.110 135.1);
Tailwind
colors: {
  custom: {
    50: '#82a06e',
    500: '#4e7934',
    950: '#000000',
  },
}
SCSS
$custom: #4e7934;
$custom-light: #82a06e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7934",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 52
  },
  "hsl": {
    "h": 97.391,
    "s": 39.884,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52804,
    "c": 0.10993,
    "h": 135.1
  },
  "luminance": 0.15542
}

Semantic roles & 50–950 ramp

primary
#4E7934
secondary
#8D62A7
accent
#58D0A3
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7934

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

Preview Lab → · Contrast checker → · Palette generator →

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