#4E5B1F#4E5B1F

#4E5B1F is a dark, moderate yellow-green. Relative luminance 0.092; OKLCH L 44.6% C 0.085 H 120.3°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#4E5B1F
RGBrgb(78, 91, 31)
HSLhsl(73, 49%, 24%)
HSVhsv(73, 66%, 36%)
CMYKcmyk(14.3%, 0%, 65.9%, 64.3%)
CIE-LABlab(36.37, -14.85, 31.99)
CIE-LCHlch(36.37, 35.27, 114.90°)
OKLaboklab(44.63% -0.043 0.0735)
OKLCHoklch(44.63% 0.085 120.3)
XYZxyz(7.1304, 9.2008, 2.6964)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5B1F #2C1F5B
analogous
#5B4A1F #4E5B1F #305B1F
triadic
#4E5B1F #1F4E5B #5B1F4E
tetradic
#4E5B1F #1F5B4A #2C1F5B #5B1F30
square
#4E5B1F #1F5B4A #2C1F5B #5B1F30
split-complementary
#4E5B1F #1F305B #4A1F5B
monochromatic
#141708 #272D0F #4E5B1F #75892F #9CB63E

Accessibility & contrast

On white

7.39
#4E5B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#4E5B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5B1F
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5B1F#FFFFFF#000000##FFFFFF
##4E5B1F1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615618
Deuteranopia (green-blind)
#5F5623
Tritanopia (blue-blind)
#52564E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e5b1f;
/* rgb */ color: rgb(78, 91, 31);
/* oklch */ color: oklch(44.6% 0.085 120.3);
Tailwind
colors: {
  custom: {
    50: '#81895e',
    500: '#4e5b1f',
    950: '#000000',
  },
}
SCSS
$custom: #4e5b1f;
$custom-light: #81895e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5b1f",
  "rgb": {
    "r": 78,
    "g": 91,
    "b": 31
  },
  "hsl": {
    "h": 73,
    "s": 49.18,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44634,
    "c": 0.08517,
    "h": 120.3
  },
  "luminance": 0.09201
}

Semantic roles & 50–950 ramp

primary
#4E5B1F
secondary
#564690
accent
#4FD96D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4E5B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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