#5E4B10#5E4B10

#5E4B10 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 42.1% C 0.078 H 89.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#5E4B10
RGBrgb(94, 75, 16)
HSLhsl(45, 71%, 22%)
HSVhsv(45, 83%, 37%)
CMYKcmyk(0%, 20.2%, 83%, 63.1%)
CIE-LABlab(32.81, 1.43, 35.71)
CIE-LCHlch(32.81, 35.74, 87.71°)
OKLaboklab(42.13% 0.0001 0.078)
OKLCHoklch(42.13% 0.078 89.9)
XYZxyz(7.2261, 7.4497, 1.5474)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4B10 #10235E
analogous
#5E2410 #5E4B10 #4A5E10
triadic
#5E4B10 #105E4B #4B105E
tetradic
#5E4B10 #105E24 #10235E #5E104A
square
#5E4B10 #105E24 #10235E #5E104A
split-complementary
#5E4B10 #104A5E #24105E
monochromatic
#1A1504 #2A2107 #5E4B10 #927519 #C79E22

Accessibility & contrast

On white

8.43
#5E4B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5E4B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4B10
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4B10#FFFFFF#000000##FFFFFF
##5E4B101.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A05
Deuteranopia (green-blind)
#594F13
Tritanopia (blue-blind)
#664440
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5e4b10;
/* rgb */ color: rgb(94, 75, 16);
/* oklch */ color: oklch(42.1% 0.078 89.9);
Tailwind
colors: {
  custom: {
    50: '#8f7d53',
    500: '#5e4b10',
    950: '#000000',
  },
}
SCSS
$custom: #5e4b10;
$custom-light: #8f7d53;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4b10",
  "rgb": {
    "r": 94,
    "g": 75,
    "b": 16
  },
  "hsl": {
    "h": 45.385,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42133,
    "c": 0.07795,
    "h": 89.9
  },
  "luminance": 0.07449
}

Semantic roles & 50–950 ramp

primary
#5E4B10
secondary
#334B97
accent
#66EE3A
background
#F9F7F4
surface
#F1EEE8
border
#CBC9C4
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5E4B10

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

Preview Lab → · Contrast checker → · Palette generator →

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