#4E581B#4E581B

#4E581B is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 43.8% C 0.085 H 118.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4E581B
RGBrgb(78, 88, 27)
HSLhsl(70, 53%, 23%)
HSVhsv(70, 69%, 35%)
CMYKcmyk(11.4%, 0%, 69.3%, 65.5%)
CIE-LABlab(35.36, -13.50, 32.85)
CIE-LCHlch(35.36, 35.51, 112.34°)
OKLaboklab(43.81% -0.0397 0.0747)
OKLCHoklch(43.81% 0.085 118)
XYZxyz(6.8296, 8.6783, 2.3520)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E581B #251B58
analogous
#58431B #4E581B #30581B
triadic
#4E581B #1B4E58 #581B4E
tetradic
#4E581B #1B5843 #251B58 #581B30
square
#4E581B #1B5843 #251B58 #581B30
split-complementary
#4E581B #1B3058 #431B58
monochromatic
#151707 #24290D #4E581B #788729 #A1B638

Accessibility & contrast

On white

7.68
#4E581B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E581B
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E581B#FFFFFF#000000##FFFFFF
##4E581B1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5313
Deuteranopia (green-blind)
#5D531F
Tritanopia (blue-blind)
#53534B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4e581b;
/* rgb */ color: rgb(78, 88, 27);
/* oklch */ color: oklch(43.8% 0.085 118.0);
Tailwind
colors: {
  custom: {
    50: '#81875b',
    500: '#4e581b',
    950: '#000000',
  },
}
SCSS
$custom: #4e581b;
$custom-light: #81875b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e581b",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 69.836,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4381,
    "c": 0.08459,
    "h": 118
  },
  "luminance": 0.08678
}

Semantic roles & 50–950 ramp

primary
#4E581B
secondary
#4E418E
accent
#4BDC63
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4E581B

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

Preview Lab → · Contrast checker → · Palette generator →

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