#5F4E11#5F4E11

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

Color values

HEX#5F4E11
RGBrgb(95, 78, 17)
HSLhsl(47, 70%, 22%)
HSVhsv(47, 82%, 37%)
CMYKcmyk(0%, 17.9%, 82.1%, 62.7%)
CIE-LABlab(33.82, 0.14, 36.29)
CIE-LCHlch(33.82, 36.29, 89.77°)
OKLaboklab(42.96% -0.0035 0.0794)
OKLCHoklch(42.96% 0.079 92.5)
XYZxyz(7.5453, 7.9226, 1.6620)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4E11 #11225F
analogous
#5F2711 #5F4E11 #495F11
triadic
#5F4E11 #115F4E #4E115F
tetradic
#5F4E11 #115F27 #11225F #5F1149
square
#5F4E11 #115F27 #11225F #5F1149
split-complementary
#5F4E11 #11495F #27115F
monochromatic
#1A1505 #2B2308 #5F4E11 #93791A #C7A324

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F4E11#FFFFFF#000000##FFFFFF
##5F4E111.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)
#584D06
Deuteranopia (green-blind)
#5C5215
Tritanopia (blue-blind)
#674742
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5f4e11;
/* rgb */ color: rgb(95, 78, 17);
/* oklch */ color: oklch(43.0% 0.079 92.5);
Tailwind
colors: {
  custom: {
    50: '#907f54',
    500: '#5f4e11',
    950: '#000000',
  },
}
SCSS
$custom: #5f4e11;
$custom-light: #907f54;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4e11",
  "rgb": {
    "r": 95,
    "g": 78,
    "b": 17
  },
  "hsl": {
    "h": 46.923,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4296,
    "c": 0.07944,
    "h": 92.5
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#5F4E11
secondary
#344A98
accent
#62EC3B
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F4E11

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

Preview Lab → · Contrast checker → · Palette generator →

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