#5E4F0F#5E4F0F

#5E4F0F is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 43.1% C 0.081 H 95.0°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#5E4F0F
RGBrgb(94, 79, 15)
HSLhsl(49, 72%, 21%)
HSVhsv(49, 84%, 37%)
CMYKcmyk(0%, 16%, 84%, 63.1%)
CIE-LABlab(34.00, -1.06, 37.19)
CIE-LCHlch(34.00, 37.21, 91.63°)
OKLaboklab(43.07% -0.0071 0.0809)
OKLCHoklch(43.07% 0.081 95)
XYZxyz(7.4987, 8.0066, 1.6023)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4F0F #0F1E5E
analogous
#5E280F #5E4F0F #465E0F
triadic
#5E4F0F #0F5E4F #4F0F5E
tetradic
#5E4F0F #0F5E28 #0F1E5E #5E0F46
square
#5E4F0F #0F5E28 #0F1E5E #5E0F46
split-complementary
#5E4F0F #0F465E #280F5E
monochromatic
#1A1604 #292307 #5E4F0F #937B17 #C8A820

Accessibility & contrast

On white

8.07
#5E4F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5E4F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4F0F
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4F0F#FFFFFF#000000##FFFFFF
##5E4F0F1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D03
Deuteranopia (green-blind)
#5C5213
Tritanopia (blue-blind)
#664843
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e4f0f;
/* rgb */ color: rgb(94, 79, 15);
/* oklch */ color: oklch(43.1% 0.081 95.0);
Tailwind
colors: {
  custom: {
    50: '#8f8054',
    500: '#5e4f0f',
    950: '#000000',
  },
}
SCSS
$custom: #5e4f0f;
$custom-light: #8f8054;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4f0f",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 15
  },
  "hsl": {
    "h": 48.608,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43068,
    "c": 0.08119,
    "h": 95
  },
  "luminance": 0.08006
}

Semantic roles & 50–950 ramp

primary
#5E4F0F
secondary
#314597
accent
#5BEF39
background
#F9F7F5
surface
#F1EEE8
border
#CBC9C4
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E4F0F

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

Preview Lab → · Contrast checker → · Palette generator →

#5E4F0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva