#4E742B#4E742B

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

Color values

HEX#4E742B
RGBrgb(78, 116, 43)
HSLhsl(91, 46%, 31%)
HSVhsv(91, 63%, 45%)
CMYKcmyk(32.8%, 0%, 62.9%, 54.5%)
CIE-LABlab(44.64, -26.73, 35.27)
CIE-LCHlch(44.64, 44.26, 127.15°)
OKLaboklab(51.37% -0.0747 0.0821)
OKLCHoklch(51.37% 0.111 132.3)
XYZxyz(9.8232, 14.2846, 4.5247)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E742B #512B74
analogous
#72742B #4E742B #2B742C
triadic
#4E742B #2B4E74 #742B4E
tetradic
#4E742B #2B7274 #512B74 #742C2B
square
#4E742B #2B7274 #512B74 #742C2B
split-complementary
#4E742B #2C2B74 #742B72
monochromatic
#121B0A #30471A #4E742B #6CA13C #8BC158

Accessibility & contrast

On white

5.44
#4E742B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E742B
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E742B#FFFFFF#000000##FFFFFF
##4E742B1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e742b;
/* rgb */ color: rgb(78, 116, 43);
/* oklch */ color: oklch(51.4% 0.111 132.3);
Tailwind
colors: {
  custom: {
    50: '#829c67',
    500: '#4e742b',
    950: '#000000',
  },
}
SCSS
$custom: #4e742b;
$custom-light: #829c67;
$custom-dark: #000000;
JSON
{
  "hex": "#4e742b",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 43
  },
  "hsl": {
    "h": 91.233,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51365,
    "c": 0.11095,
    "h": 132.3
  },
  "luminance": 0.14285
}

Semantic roles & 50–950 ramp

primary
#4E742B
secondary
#7F55A6
accent
#52D697
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E742B

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

Preview Lab → · Contrast checker → · Palette generator →

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