#5E4F16#5E4F16

#5E4F16 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 43.1% C 0.077 H 93.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#5E4F16
RGBrgb(94, 79, 22)
HSLhsl(48, 62%, 23%)
HSVhsv(48, 77%, 37%)
CMYKcmyk(0%, 16%, 76.6%, 63.1%)
CIE-LABlab(34.05, -0.71, 34.31)
CIE-LCHlch(34.05, 34.32, 91.18°)
OKLaboklab(43.12% -0.0052 0.0763)
OKLCHoklch(43.12% 0.077 93.9)
XYZxyz(7.5573, 8.0300, 1.9108)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4F16 #16255E
analogous
#5E2B16 #5E4F16 #495E16
triadic
#5E4F16 #165E4F #4F165E
tetradic
#5E4F16 #165E2B #16255E #5E1649
square
#5E4F16 #165E2B #16255E #5E1649
split-complementary
#5E4F16 #16495E #2B165E
monochromatic
#191506 #2C250A #5E4F16 #907922 #C1A22D

Accessibility & contrast

On white

8.06
#5E4F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5E4F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4F16
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4F16#FFFFFF#000000##FFFFFF
##5E4F161.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0E
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#664844
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e4f16;
/* rgb */ color: rgb(94, 79, 22);
/* oklch */ color: oklch(43.1% 0.077 93.9);
Tailwind
colors: {
  custom: {
    50: '#8e8057',
    500: '#5e4f16',
    950: '#000000',
  },
}
SCSS
$custom: #5e4f16;
$custom-light: #8e8057;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4f16",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 22
  },
  "hsl": {
    "h": 47.5,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43123,
    "c": 0.07651,
    "h": 93.9
  },
  "luminance": 0.0803
}

Semantic roles & 50–950 ramp

primary
#5E4F16
secondary
#3B4E95
accent
#65E543
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E4F16

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

Preview Lab → · Contrast checker → · Palette generator →

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