#4E581F#4E581F

#4E581F is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.9% C 0.081 H 118.3°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4E581F
RGBrgb(78, 88, 31)
HSLhsl(71, 48%, 23%)
HSVhsv(71, 65%, 35%)
CMYKcmyk(11.4%, 0%, 64.8%, 65.5%)
CIE-LABlab(35.40, -13.17, 30.93)
CIE-LCHlch(35.40, 33.62, 113.06°)
OKLaboklab(43.85% -0.0383 0.0713)
OKLCHoklch(43.85% 0.081 118.3)
XYZxyz(6.8790, 8.6981, 2.6126)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E581F #291F58
analogous
#58451F #4E581F #31581F
triadic
#4E581F #1F4E58 #581F4E
tetradic
#4E581F #1F5845 #291F58 #581F31
square
#4E581F #1F5845 #291F58 #581F31
split-complementary
#4E581F #1F3158 #451F58
monochromatic
#141708 #262B0F #4E581F #76852F #9EB33F

Accessibility & contrast

On white

7.67
#4E581F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4E581F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E581F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E581F#FFFFFF#000000##FFFFFF
##4E581F1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5318
Deuteranopia (green-blind)
#5D5423
Tritanopia (blue-blind)
#53534C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e581f;
/* rgb */ color: rgb(78, 88, 31);
/* oklch */ color: oklch(43.9% 0.081 118.3);
Tailwind
colors: {
  custom: {
    50: '#81875d',
    500: '#4e581f',
    950: '#000000',
  },
}
SCSS
$custom: #4e581f;
$custom-light: #81875d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e581f",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 31
  },
  "hsl": {
    "h": 70.526,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43853,
    "c": 0.0809,
    "h": 118.3
  },
  "luminance": 0.08698
}

Semantic roles & 50–950 ramp

primary
#4E581F
secondary
#52468D
accent
#50D768
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #4E581F

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

Preview Lab → · Contrast checker → · Palette generator →

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