#5F4E0E#5F4E0E

#5F4E0E is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 42.9% C 0.081 H 93.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#5F4E0E
RGBrgb(95, 78, 14)
HSLhsl(47, 74%, 21%)
HSVhsv(47, 85%, 37%)
CMYKcmyk(0%, 17.9%, 85.3%, 62.7%)
CIE-LABlab(33.80, 0.01, 37.43)
CIE-LCHlch(33.80, 37.43, 89.98°)
OKLaboklab(42.94% -0.0042 0.0811)
OKLCHoklch(42.94% 0.081 93)
XYZxyz(7.5234, 7.9138, 1.5466)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4E0E #0E1F5F
analogous
#5F260E #5F4E0E #485F0E
triadic
#5F4E0E #0E5F4E #4E0E5F
tetradic
#5F4E0E #0E5F26 #0E1F5F #5F0E48
square
#5F4E0E #0E5F26 #0E1F5F #5F0E48
split-complementary
#5F4E0E #0E485F #260E5F
monochromatic
#1B1604 #2A2206 #5F4E0E #947A16 #CAA61E

Accessibility & contrast

On white

8.13
#5F4E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5F4E0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4E0E
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4E0E#FFFFFF#000000##FFFFFF
##5F4E0E1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D02
Deuteranopia (green-blind)
#5C5212
Tritanopia (blue-blind)
#684742
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5f4e0e;
/* rgb */ color: rgb(95, 78, 14);
/* oklch */ color: oklch(42.9% 0.081 93.0);
Tailwind
colors: {
  custom: {
    50: '#907f53',
    500: '#5f4e0e',
    950: '#000000',
  },
}
SCSS
$custom: #5f4e0e;
$custom-light: #907f53;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4e0e",
  "rgb": {
    "r": 95,
    "g": 78,
    "b": 14
  },
  "hsl": {
    "h": 47.407,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42939,
    "c": 0.08122,
    "h": 93
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

primary
#5F4E0E
secondary
#304699
accent
#5EF137
background
#F9F7F4
surface
#F1EEE7
border
#CBC9C3
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F4E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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