#4E7E32#4E7E32

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

Color values

HEX#4E7E32
RGBrgb(78, 126, 50)
HSLhsl(98, 43%, 35%)
HSVhsv(98, 60%, 49%)
CMYKcmyk(38.1%, 0%, 60.3%, 50.6%)
CIE-LABlab(47.97, -30.76, 35.63)
CIE-LCHlch(47.97, 47.07, 130.81°)
OKLaboklab(54.1% -0.0852 0.0836)
OKLCHoklch(54.1% 0.119 135.5)
XYZxyz(11.1782, 16.7712, 5.6652)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E32 #62327E
analogous
#747E32 #4E7E32 #327E3C
triadic
#4E7E32 #324E7E #7E324E
tetradic
#4E7E32 #32747E #62327E #7E3C32
square
#4E7E32 #32747E #62327E #7E3C32
split-complementary
#4E7E32 #3C327E #7E3274
monochromatic
#18260F #335221 #4E7E32 #69AA43 #89C368

Accessibility & contrast

On white

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

On black

4.35
#4E7E32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E7E32#FFFFFF#000000##FFFFFF
##4E7E321.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82742A
Deuteranopia (green-blind)
#7C7038
Tritanopia (blue-blind)
#4D7A6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7e32;
/* rgb */ color: rgb(78, 126, 50);
/* oklch */ color: oklch(54.1% 0.119 135.5);
Tailwind
colors: {
  custom: {
    50: '#83a46d',
    500: '#4e7e32',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e32;
$custom-light: #83a46d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e32",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 50
  },
  "hsl": {
    "h": 97.895,
    "s": 43.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54102,
    "c": 0.11933,
    "h": 135.5
  },
  "luminance": 0.16772
}

Semantic roles & 50–950 ramp

primary
#4E7E32
secondary
#9061AB
accent
#55D3A4
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #4E7E32

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

Preview Lab → · Contrast checker → · Palette generator →

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