#5E4F22#5E4F22

#5E4F22 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.3% C 0.066 H 91.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#5E4F22
RGBrgb(94, 79, 34)
HSLhsl(45, 47%, 25%)
HSVhsv(45, 64%, 37%)
CMYKcmyk(0%, 16%, 63.8%, 63.1%)
CIE-LABlab(34.16, 0.13, 28.40)
CIE-LCHlch(34.16, 28.40, 89.73°)
OKLaboklab(43.26% -0.0012 0.0659)
OKLCHoklch(43.26% 0.066 91)
XYZxyz(7.7012, 8.0875, 2.6685)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4F22 #22315E
analogous
#5E3122 #5E4F22 #4F5E22
triadic
#5E4F22 #225E4F #4F225E
tetradic
#5E4F22 #225E31 #22315E #5E224F
square
#5E4F22 #225E31 #22315E #5E224F
split-complementary
#5E4F22 #224F5E #31225E
monochromatic
#161308 #312912 #5E4F22 #8B7532 #B89B43

Accessibility & contrast

On white

8.02
#5E4F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5E4F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4F22
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4F22#FFFFFF#000000##FFFFFF
##5E4F221.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E1D
Deuteranopia (green-blind)
#5B5224
Tritanopia (blue-blind)
#664945
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e4f22;
/* rgb */ color: rgb(94, 79, 34);
/* oklch */ color: oklch(43.3% 0.066 91.0);
Tailwind
colors: {
  custom: {
    50: '#8e805f',
    500: '#5e4f22',
    950: '#000000',
  },
}
SCSS
$custom: #5e4f22;
$custom-light: #8e805f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4f22",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 34
  },
  "hsl": {
    "h": 45,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.43255,
    "c": 0.06589,
    "h": 91
  },
  "luminance": 0.08087
}

Semantic roles & 50–950 ramp

primary
#5E4F22
secondary
#4A5C92
accent
#73D751
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5E4F22

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

Preview Lab → · Contrast checker → · Palette generator →

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