#4E7F34#4E7F34

#4E7F34 is a mid, moderate yellow-green. Relative luminance 0.170; OKLCH L 54.4% C 0.119 H 136.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4E7F34
RGBrgb(78, 127, 52)
HSLhsl(99, 42%, 35%)
HSVhsv(99, 59%, 50%)
CMYKcmyk(38.6%, 0%, 59.1%, 50.2%)
CIE-LABlab(48.32, -31.01, 35.04)
CIE-LCHlch(48.32, 46.79, 131.51°)
OKLaboklab(54.39% -0.0857 0.0825)
OKLCHoklch(54.39% 0.119 136.1)
XYZxyz(11.3508, 17.0458, 5.9402)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F34 #65347F
analogous
#737F34 #4E7F34 #347F40
triadic
#4E7F34 #344E7F #7F344E
tetradic
#4E7F34 #34737F #65347F #7F4034
square
#4E7F34 #34737F #65347F #7F4034
split-complementary
#4E7F34 #40347F #7F3473
monochromatic
#192810 #335422 #4E7F34 #69AA46 #89C26B

Accessibility & contrast

On white

4.76
#4E7F34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4E7F34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7F34
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7F34#FFFFFF#000000##FFFFFF
##4E7F341.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83752C
Deuteranopia (green-blind)
#7C7139
Tritanopia (blue-blind)
#4C7B6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e7f34;
/* rgb */ color: rgb(78, 127, 52);
/* oklch */ color: oklch(54.4% 0.119 136.1);
Tailwind
colors: {
  custom: {
    50: '#83a46e',
    500: '#4e7f34',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f34;
$custom-light: #83a46e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f34",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 52
  },
  "hsl": {
    "h": 99.2,
    "s": 41.899,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54392,
    "c": 0.11896,
    "h": 136.1
  },
  "luminance": 0.17046
}

Semantic roles & 50–950 ramp

primary
#4E7F34
secondary
#9264AA
accent
#56D2A7
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E7F34

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

Preview Lab → · Contrast checker → · Palette generator →

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