#5F4E13#5F4E13

#5F4E13 is a dark, moderate yellow. Relative luminance 0.079; OKLCH L 43.0% C 0.078 H 92.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#5F4E13
RGBrgb(95, 78, 19)
HSLhsl(47, 67%, 22%)
HSVhsv(47, 80%, 37%)
CMYKcmyk(0%, 17.9%, 80%, 62.7%)
CIE-LABlab(33.83, 0.24, 35.47)
CIE-LCHlch(33.83, 35.47, 89.61°)
OKLaboklab(42.98% -0.003 0.0781)
OKLCHoklch(42.98% 0.078 92.2)
XYZxyz(7.5617, 7.9291, 1.7482)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4E13 #13245F
analogous
#5F2813 #5F4E13 #4A5F13
triadic
#5F4E13 #135F4E #4E135F
tetradic
#5F4E13 #135F28 #13245F #5F134A
square
#5F4E13 #135F28 #13245F #5F134A
split-complementary
#5F4E13 #134A5F #28135F
monochromatic
#1A1505 #2C2409 #5F4E13 #92781D #C5A227

Accessibility & contrast

On white

8.12
#5F4E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5F4E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F4E13
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4E13#FFFFFF#000000##FFFFFF
##5F4E131.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D09
Deuteranopia (green-blind)
#5C5216
Tritanopia (blue-blind)
#674742
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5f4e13;
/* rgb */ color: rgb(95, 78, 19);
/* oklch */ color: oklch(43.0% 0.078 92.2);
Tailwind
colors: {
  custom: {
    50: '#907f55',
    500: '#5f4e13',
    950: '#000000',
  },
}
SCSS
$custom: #5f4e13;
$custom-light: #907f55;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4e13",
  "rgb": {
    "r": 95,
    "g": 78,
    "b": 19
  },
  "hsl": {
    "h": 46.579,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42975,
    "c": 0.07814,
    "h": 92.2
  },
  "luminance": 0.07929
}

Semantic roles & 50–950 ramp

primary
#5F4E13
secondary
#374C97
accent
#65EA3E
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F4E13

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

Preview Lab → · Contrast checker → · Palette generator →

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