#4E5C1F#4E5C1F

#4E5C1F is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.9% C 0.087 H 121.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#4E5C1F
RGBrgb(78, 92, 31)
HSLhsl(74, 50%, 24%)
HSVhsv(74, 66%, 36%)
CMYKcmyk(15.2%, 0%, 66.3%, 63.9%)
CIE-LABlab(36.69, -15.40, 32.35)
CIE-LCHlch(36.69, 35.83, 115.46°)
OKLaboklab(44.9% -0.0445 0.0743)
OKLCHoklch(44.9% 0.087 121)
XYZxyz(7.2164, 9.3729, 2.7250)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5C1F #2D1F5C
analogous
#5C4C1F #4E5C1F #305C1F
triadic
#4E5C1F #1F4E5C #5C1F4E
tetradic
#4E5C1F #1F5C4C #2D1F5C #5C1F30
square
#4E5C1F #1F5C4C #2D1F5C #5C1F30
split-complementary
#4E5C1F #1F305C #4C1F5C
monochromatic
#131708 #272E10 #4E5C1F #758A2E #9CB83E

Accessibility & contrast

On white

7.31
#4E5C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4E5C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E5C1F
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5C1F#FFFFFF#000000##FFFFFF
##4E5C1F1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625718
Deuteranopia (green-blind)
#605623
Tritanopia (blue-blind)
#52574F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e5c1f;
/* rgb */ color: rgb(78, 92, 31);
/* oklch */ color: oklch(44.9% 0.087 121.0);
Tailwind
colors: {
  custom: {
    50: '#818a5e',
    500: '#4e5c1f',
    950: '#000000',
  },
}
SCSS
$custom: #4e5c1f;
$custom-light: #818a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5c1f",
  "rgb": {
    "r": 78,
    "g": 92,
    "b": 31
  },
  "hsl": {
    "h": 73.77,
    "s": 49.593,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44895,
    "c": 0.08659,
    "h": 121
  },
  "luminance": 0.09373
}

Semantic roles & 50–950 ramp

primary
#4E5C1F
secondary
#574691
accent
#4FD96E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4E5C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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