#4E742A#4E742A

#4E742A is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.4% C 0.112 H 132.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4E742A
RGBrgb(78, 116, 42)
HSLhsl(91, 47%, 31%)
HSVhsv(91, 64%, 45%)
CMYKcmyk(32.8%, 0%, 63.8%, 54.5%)
CIE-LABlab(44.63, -26.83, 35.75)
CIE-LCHlch(44.63, 44.70, 126.89°)
OKLaboklab(51.35% -0.075 0.0829)
OKLCHoklch(51.35% 0.112 132.1)
XYZxyz(9.8051, 14.2773, 4.4292)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E742A #502A74
analogous
#73742A #4E742A #2A742B
triadic
#4E742A #2A4E74 #742A4E
tetradic
#4E742A #2A7374 #502A74 #742B2A
square
#4E742A #2A7374 #502A74 #742B2A
split-complementary
#4E742A #2B2A74 #742A73
monochromatic
#121A09 #30471A #4E742A #6CA13A #8BC256

Accessibility & contrast

On white

5.45
#4E742A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4E742A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E742A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E742A#FFFFFF#000000##FFFFFF
##4E742A1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B22
Deuteranopia (green-blind)
#736930
Tritanopia (blue-blind)
#4F6F64
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e742a;
/* rgb */ color: rgb(78, 116, 42);
/* oklch */ color: oklch(51.4% 0.112 132.1);
Tailwind
colors: {
  custom: {
    50: '#829c67',
    500: '#4e742a',
    950: '#000000',
  },
}
SCSS
$custom: #4e742a;
$custom-light: #829c67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e742a",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 42
  },
  "hsl": {
    "h": 90.811,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51353,
    "c": 0.11185,
    "h": 132.1
  },
  "luminance": 0.14278
}

Semantic roles & 50–950 ramp

primary
#4E742A
secondary
#7E54A6
accent
#51D696
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E742A

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

Preview Lab → · Contrast checker → · Palette generator →

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