#5F4E10#5F4E10

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

Color values

HEX#5F4E10
RGBrgb(95, 78, 16)
HSLhsl(47, 71%, 22%)
HSVhsv(47, 83%, 37%)
CMYKcmyk(0%, 17.9%, 83.2%, 62.7%)
CIE-LABlab(33.81, 0.10, 36.68)
CIE-LCHlch(33.81, 36.68, 89.84°)
OKLaboklab(42.95% -0.0037 0.08)
OKLCHoklch(42.95% 0.08 92.7)
XYZxyz(7.5377, 7.9195, 1.6217)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4E10 #10215F
analogous
#5F2710 #5F4E10 #495F10
triadic
#5F4E10 #105F4E #4E105F
tetradic
#5F4E10 #105F27 #10215F #5F1049
square
#5F4E10 #105F27 #10215F #5F1049
split-complementary
#5F4E10 #10495F #27105F
monochromatic
#1A1604 #2B2307 #5F4E10 #937919 #C8A422

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F4E10#FFFFFF#000000##FFFFFF
##5F4E101.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)
#584D04
Deuteranopia (green-blind)
#5C5214
Tritanopia (blue-blind)
#674742
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5f4e10;
/* rgb */ color: rgb(95, 78, 16);
/* oklch */ color: oklch(43.0% 0.080 92.7);
Tailwind
colors: {
  custom: {
    50: '#907f54',
    500: '#5f4e10',
    950: '#000000',
  },
}
SCSS
$custom: #5f4e10;
$custom-light: #907f54;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4e10",
  "rgb": {
    "r": 95,
    "g": 78,
    "b": 16
  },
  "hsl": {
    "h": 47.089,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42953,
    "c": 0.08006,
    "h": 92.7
  },
  "luminance": 0.07919
}

Semantic roles & 50–950 ramp

primary
#5F4E10
secondary
#334998
accent
#61EE3A
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F4E10

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

Preview Lab → · Contrast checker → · Palette generator →

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