#5E511E#5E511E

#5E511E is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.7% C 0.071 H 94.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5E511E
RGBrgb(94, 81, 30)
HSLhsl(48, 52%, 24%)
HSVhsv(48, 68%, 37%)
CMYKcmyk(0%, 13.8%, 68.1%, 63.1%)
CIE-LABlab(34.72, -1.40, 31.13)
CIE-LCHlch(34.72, 31.16, 92.57°)
OKLaboklab(43.68% -0.0061 0.0711)
OKLCHoklch(43.68% 0.071 94.9)
XYZxyz(7.7932, 8.3587, 2.4309)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E511E #1E2B5E
analogous
#5E311E #5E511E #4B5E1E
triadic
#5E511E #1E5E51 #511E5E
tetradic
#5E511E #1E5E31 #1E2B5E #5E1E4B
square
#5E511E #1E5E31 #1E2B5E #5E1E4B
split-complementary
#5E511E #1E4B5E #311E5E
monochromatic
#171407 #30290F #5E511E #8C792D #BBA13C

Accessibility & contrast

On white

7.86
#5E511E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5E511E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E511E
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E511E#FFFFFF#000000##FFFFFF
##5E511E1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F18
Deuteranopia (green-blind)
#5D5320
Tritanopia (blue-blind)
#664B46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e511e;
/* rgb */ color: rgb(94, 81, 30);
/* oklch */ color: oklch(43.7% 0.071 94.9);
Tailwind
colors: {
  custom: {
    50: '#8e815c',
    500: '#5e511e',
    950: '#000000',
  },
}
SCSS
$custom: #5e511e;
$custom-light: #8e815c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e511e",
  "rgb": {
    "r": 94,
    "g": 81,
    "b": 30
  },
  "hsl": {
    "h": 47.813,
    "s": 51.613,
    "l": 24.314
  },
  "oklch": {
    "l": 0.43679,
    "c": 0.07138,
    "h": 94.9
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#5E511E
secondary
#455593
accent
#6ADB4D
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A04
muted
#7D7C79

Preview Lab

Preview with #5E511E

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

Preview Lab → · Contrast checker → · Palette generator →

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