#5F4E18#5F4E18

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

Color values

HEX#5F4E18
RGBrgb(95, 78, 24)
HSLhsl(46, 60%, 23%)
HSVhsv(46, 75%, 37%)
CMYKcmyk(0%, 17.9%, 74.7%, 62.7%)
CIE-LABlab(33.87, 0.52, 33.24)
CIE-LCHlch(33.87, 33.25, 89.11°)
OKLaboklab(43.02% -0.0015 0.0744)
OKLCHoklch(43.02% 0.074 91.2)
XYZxyz(7.6090, 7.9481, 1.9973)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4E18 #18295F
analogous
#5F2A18 #5F4E18 #4C5F18
triadic
#5F4E18 #185F4E #4E185F
tetradic
#5F4E18 #185F2A #18295F #5F184C
square
#5F4E18 #185F2A #18295F #5F184C
split-complementary
#5F4E18 #184C5F #2A185F
monochromatic
#181406 #2E260C #5F4E18 #907624 #C19E31

Accessibility & contrast

On white

8.11
#5F4E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F4E18
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4E18#FFFFFF#000000##FFFFFF
##5F4E181.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D11
Deuteranopia (green-blind)
#5B521B
Tritanopia (blue-blind)
#674743
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5f4e18;
/* rgb */ color: rgb(95, 78, 24);
/* oklch */ color: oklch(43.0% 0.074 91.2);
Tailwind
colors: {
  custom: {
    50: '#8f7f58',
    500: '#5f4e18',
    950: '#000000',
  },
}
SCSS
$custom: #5f4e18;
$custom-light: #8f7f58;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4e18",
  "rgb": {
    "r": 95,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 45.634,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43019,
    "c": 0.07446,
    "h": 91.2
  },
  "luminance": 0.07948
}

Semantic roles & 50–950 ramp

primary
#5F4E18
secondary
#3D5295
accent
#6BE345
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F4E18

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

Preview Lab → · Contrast checker → · Palette generator →

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