#4E7834#4E7834

#4E7834 is a mid, moderate yellow-green. Relative luminance 0.153; OKLCH L 52.5% C 0.108 H 134.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4E7834
RGBrgb(78, 120, 52)
HSLhsl(97, 40%, 34%)
HSVhsv(97, 57%, 47%)
CMYKcmyk(35%, 0%, 56.7%, 52.9%)
CIE-LABlab(46.04, -27.68, 32.38)
CIE-LCHlch(46.04, 42.59, 130.53°)
OKLaboklab(52.54% -0.0766 0.0767)
OKLCHoklch(52.54% 0.108 134.9)
XYZxyz(10.4780, 15.3001, 5.6493)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7834 #5E3478
analogous
#707834 #4E7834 #34783C
triadic
#4E7834 #344E78 #78344E
tetradic
#4E7834 #347078 #5E3478 #783C34
square
#4E7834 #347078 #5E3478 #783C34
split-complementary
#4E7834 #3C3478 #783470
monochromatic
#16230F #324D21 #4E7834 #6AA347 #89BE69

Accessibility & contrast

On white

5.17
#4E7834 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#4E7834 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7834
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7834#FFFFFF#000000##FFFFFF
##4E78341.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2E
Deuteranopia (green-blind)
#766C39
Tritanopia (blue-blind)
#4D7469
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e7834;
/* rgb */ color: rgb(78, 120, 52);
/* oklch */ color: oklch(52.5% 0.108 134.9);
Tailwind
colors: {
  custom: {
    50: '#829f6d',
    500: '#4e7834',
    950: '#000000',
  },
}
SCSS
$custom: #4e7834;
$custom-light: #829f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7834",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 52
  },
  "hsl": {
    "h": 97.059,
    "s": 39.535,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52539,
    "c": 0.10839,
    "h": 134.9
  },
  "luminance": 0.15301
}

Semantic roles & 50–950 ramp

primary
#4E7834
secondary
#8C62A6
accent
#58CFA2
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #4E7834

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

Preview Lab → · Contrast checker → · Palette generator →

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