#5F4E19#5F4E19

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

Color values

HEX#5F4E19
RGBrgb(95, 78, 25)
HSLhsl(45, 58%, 24%)
HSVhsv(45, 74%, 37%)
CMYKcmyk(0%, 17.9%, 73.7%, 62.7%)
CIE-LABlab(33.88, 0.58, 32.77)
CIE-LCHlch(33.88, 32.78, 88.99°)
OKLaboklab(43.03% -0.0012 0.0736)
OKLCHoklch(43.03% 0.074 90.9)
XYZxyz(7.6196, 7.9523, 2.0531)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4E19 #192A5F
analogous
#5F2B19 #5F4E19 #4D5F19
triadic
#5F4E19 #195F4E #4E195F
tetradic
#5F4E19 #195F2B #192A5F #5F194D
square
#5F4E19 #195F2B #192A5F #5F194D
split-complementary
#5F4E19 #194D5F #2B195F
monochromatic
#181406 #2F260C #5F4E19 #8F7626 #C09E32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F4E19#FFFFFF#000000##FFFFFF
##5F4E191.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)
#574D12
Deuteranopia (green-blind)
#5B521C
Tritanopia (blue-blind)
#674743
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5f4e19;
/* rgb */ color: rgb(95, 78, 25);
/* oklch */ color: oklch(43.0% 0.074 90.9);
Tailwind
colors: {
  custom: {
    50: '#8f7f59',
    500: '#5f4e19',
    950: '#000000',
  },
}
SCSS
$custom: #5f4e19;
$custom-light: #8f7f59;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4e19",
  "rgb": {
    "r": 95,
    "g": 78,
    "b": 25
  },
  "hsl": {
    "h": 45.429,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43029,
    "c": 0.07365,
    "h": 90.9
  },
  "luminance": 0.07952
}

Semantic roles & 50–950 ramp

primary
#5F4E19
secondary
#3F5495
accent
#6CE246
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A04
muted
#7E7C79

Preview Lab

Preview with #5F4E19

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

Preview Lab → · Contrast checker → · Palette generator →

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