#5E4E10#5E4E10

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

Color values

HEX#5E4E10
RGBrgb(94, 78, 16)
HSLhsl(48, 71%, 22%)
HSVhsv(48, 83%, 37%)
CMYKcmyk(0%, 17%, 83%, 63.1%)
CIE-LABlab(33.70, -0.40, 36.54)
CIE-LCHlch(33.70, 36.54, 90.63°)
OKLaboklab(42.84% -0.0051 0.0797)
OKLCHoklch(42.84% 0.08 93.7)
XYZxyz(7.4344, 7.8663, 1.6169)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4E10 #10205E
analogous
#5E2710 #5E4E10 #475E10
triadic
#5E4E10 #105E4E #4E105E
tetradic
#5E4E10 #105E27 #10205E #5E1047
square
#5E4E10 #105E27 #10205E #5E1047
split-complementary
#5E4E10 #10475E #27105E
monochromatic
#1A1604 #2A2307 #5E4E10 #927919 #C7A522

Accessibility & contrast

On white

8.16
#5E4E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5E4E10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E4E10
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4E10#FFFFFF#000000##FFFFFF
##5E4E101.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C04
Deuteranopia (green-blind)
#5B5114
Tritanopia (blue-blind)
#664742
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5e4e10;
/* rgb */ color: rgb(94, 78, 16);
/* oklch */ color: oklch(42.8% 0.080 93.7);
Tailwind
colors: {
  custom: {
    50: '#8f7f54',
    500: '#5e4e10',
    950: '#000000',
  },
}
SCSS
$custom: #5e4e10;
$custom-light: #8f7f54;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4e10",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 16
  },
  "hsl": {
    "h": 47.692,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42838,
    "c": 0.07987,
    "h": 93.7
  },
  "luminance": 0.07866
}

Semantic roles & 50–950 ramp

primary
#5E4E10
secondary
#334797
accent
#5FEE3A
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E4E10

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

Preview Lab → · Contrast checker → · Palette generator →

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