#4E581A#4E581A

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

Color values

HEX#4E581A
RGBrgb(78, 88, 26)
HSLhsl(70, 54%, 22%)
HSVhsv(70, 70%, 35%)
CMYKcmyk(11.4%, 0%, 70.5%, 65.5%)
CIE-LABlab(35.35, -13.58, 33.31)
CIE-LCHlch(35.35, 35.97, 112.18°)
OKLaboklab(43.8% -0.04 0.0755)
OKLCHoklch(43.8% 0.085 117.9)
XYZxyz(6.8182, 8.6738, 2.2921)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E581A #241A58
analogous
#58431A #4E581A #2F581A
triadic
#4E581A #1A4E58 #581A4E
tetradic
#4E581A #1A5843 #241A58 #581A2F
square
#4E581A #1A5843 #241A58 #581A2F
split-complementary
#4E581A #1A2F58 #431A58
monochromatic
#151807 #24290C #4E581A #788728 #A2B636

Accessibility & contrast

On white

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

On black

2.73
#4E581A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E581A#FFFFFF#000000##FFFFFF
##4E581A1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e581a;
/* rgb */ color: rgb(78, 88, 26);
/* oklch */ color: oklch(43.8% 0.085 117.9);
Tailwind
colors: {
  custom: {
    50: '#82875a',
    500: '#4e581a',
    950: '#000000',
  },
}
SCSS
$custom: #4e581a;
$custom-light: #82875a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e581a",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 69.677,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43799,
    "c": 0.08546,
    "h": 117.9
  },
  "luminance": 0.08674
}

Semantic roles & 50–950 ramp

primary
#4E581A
secondary
#4C408E
accent
#4ADE62
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #4E581A

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

Preview Lab → · Contrast checker → · Palette generator →

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