#5E4C10#5E4C10

#5E4C10 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.4% C 0.079 H 91.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#5E4C10
RGBrgb(94, 76, 16)
HSLhsl(46, 71%, 22%)
HSVhsv(46, 83%, 37%)
CMYKcmyk(0%, 19.1%, 83%, 63.1%)
CIE-LABlab(33.11, 0.82, 35.98)
CIE-LCHlch(33.11, 35.99, 88.70°)
OKLaboklab(42.37% -0.0016 0.0785)
OKLCHoklch(42.37% 0.079 91.2)
XYZxyz(7.2945, 7.5864, 1.5702)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4C10 #10225E
analogous
#5E2510 #5E4C10 #495E10
triadic
#5E4C10 #105E4C #4C105E
tetradic
#5E4C10 #105E25 #10225E #5E1049
square
#5E4C10 #105E25 #10225E #5E1049
split-complementary
#5E4C10 #10495E #25105E
monochromatic
#1A1504 #2A2207 #5E4C10 #927619 #C7A122

Accessibility & contrast

On white

8.34
#5E4C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#5E4C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4C10
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4C10#FFFFFF#000000##FFFFFF
##5E4C101.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B05
Deuteranopia (green-blind)
#5A5014
Tritanopia (blue-blind)
#664541
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5e4c10;
/* rgb */ color: rgb(94, 76, 16);
/* oklch */ color: oklch(42.4% 0.079 91.2);
Tailwind
colors: {
  custom: {
    50: '#8f7d54',
    500: '#5e4c10',
    950: '#000000',
  },
}
SCSS
$custom: #5e4c10;
$custom-light: #8f7d54;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4c10",
  "rgb": {
    "r": 94,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 46.154,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42367,
    "c": 0.07855,
    "h": 91.2
  },
  "luminance": 0.07586
}

Semantic roles & 50–950 ramp

primary
#5E4C10
secondary
#334A97
accent
#64EE3A
background
#F9F7F4
surface
#F1EEE8
border
#CBC9C4
text
#0D0903
muted
#7E7B78

Preview Lab

Preview with #5E4C10

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

Preview Lab → · Contrast checker → · Palette generator →

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