#4E742F#4E742F

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

Color values

HEX#4E742F
RGBrgb(78, 116, 47)
HSLhsl(93, 42%, 32%)
HSVhsv(93, 59%, 45%)
CMYKcmyk(32.8%, 0%, 59.5%, 54.5%)
CIE-LABlab(44.68, -26.31, 33.34)
CIE-LCHlch(44.68, 42.47, 128.27°)
OKLaboklab(51.41% -0.0732 0.0783)
OKLCHoklch(51.41% 0.107 133.1)
XYZxyz(9.9002, 14.3154, 4.9303)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E742F #552F74
analogous
#71742F #4E742F #2F7433
triadic
#4E742F #2F4E74 #742F4E
tetradic
#4E742F #2F7174 #552F74 #74332F
square
#4E742F #2F7174 #552F74 #74332F
split-complementary
#4E742F #332F74 #742F71
monochromatic
#131D0C #31481D #4E742F #6BA041 #8ABE5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E742F#FFFFFF#000000##FFFFFF
##4E742F1.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)
#796C28
Deuteranopia (green-blind)
#736934
Tritanopia (blue-blind)
#4E7065
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e742f;
/* rgb */ color: rgb(78, 116, 47);
/* oklch */ color: oklch(51.4% 0.107 133.1);
Tailwind
colors: {
  custom: {
    50: '#829c6a',
    500: '#4e742f',
    950: '#000000',
  },
}
SCSS
$custom: #4e742f;
$custom-light: #829c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e742f",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 47
  },
  "hsl": {
    "h": 93.043,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51414,
    "c": 0.1072,
    "h": 133.1
  },
  "luminance": 0.14316
}

Semantic roles & 50–950 ramp

primary
#4E742F
secondary
#835AA5
accent
#56D29A
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E742F

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

Preview Lab → · Contrast checker → · Palette generator →

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