#4E7B34#4E7B34

#4E7B34 is a mid, moderate yellow-green. Relative luminance 0.160; OKLCH L 53.3% C 0.113 H 135.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4E7B34
RGBrgb(78, 123, 52)
HSLhsl(98, 41%, 34%)
HSVhsv(98, 58%, 48%)
CMYKcmyk(36.6%, 0%, 57.7%, 51.8%)
CIE-LABlab(47.02, -29.12, 33.52)
CIE-LCHlch(47.02, 44.41, 130.98°)
OKLaboklab(53.33% -0.0805 0.0792)
OKLCHoklch(53.33% 0.113 135.5)
XYZxyz(10.8444, 16.0331, 5.7714)
Luminance0.1603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B34 #61347B
analogous
#727B34 #4E7B34 #347B3E
triadic
#4E7B34 #344E7B #7B344E
tetradic
#4E7B34 #34727B #61347B #7B3E34
square
#4E7B34 #34727B #61347B #7B3E34
split-complementary
#4E7B34 #3E347B #7B3472
monochromatic
#172510 #335022 #4E7B34 #69A646 #89C06A

Accessibility & contrast

On white

4.99
#4E7B34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#4E7B34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7B34
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7B34#FFFFFF#000000##FFFFFF
##4E7B341.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722D
Deuteranopia (green-blind)
#796E39
Tritanopia (blue-blind)
#4D776B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7b34;
/* rgb */ color: rgb(78, 123, 52);
/* oklch */ color: oklch(53.3% 0.113 135.5);
Tailwind
colors: {
  custom: {
    50: '#82a16e',
    500: '#4e7b34',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b34;
$custom-light: #82a16e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b34",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 52
  },
  "hsl": {
    "h": 98.028,
    "s": 40.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53333,
    "c": 0.11296,
    "h": 135.5
  },
  "luminance": 0.16034
}

Semantic roles & 50–950 ramp

primary
#4E7B34
secondary
#8F63A8
accent
#57D0A4
background
#F8F9F6
surface
#EFF2EC
border
#CACCC7
text
#0B0F07
muted
#7C7E7A

Preview Lab

Preview with #4E7B34

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

Preview Lab → · Contrast checker → · Palette generator →

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