#5E511F#5E511F

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

Color values

HEX#5E511F
RGBrgb(94, 81, 31)
HSLhsl(48, 50%, 25%)
HSVhsv(48, 67%, 37%)
CMYKcmyk(0%, 13.8%, 67%, 63.1%)
CIE-LABlab(34.73, -1.32, 30.63)
CIE-LCHlch(34.73, 30.65, 92.47°)
OKLaboklab(43.69% -0.0058 0.0702)
OKLCHoklch(43.69% 0.07 94.7)
XYZxyz(7.8062, 8.3639, 2.4993)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E511F #1F2C5E
analogous
#5E321F #5E511F #4C5E1F
triadic
#5E511F #1F5E51 #511F5E
tetradic
#5E511F #1F5E32 #1F2C5E #5E1F4C
square
#5E511F #1F5E32 #1F2C5E #5E1F4C
split-complementary
#5E511F #1F4C5E #321F5E
monochromatic
#171408 #302910 #5E511F #8C792E #BAA03D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E511F#FFFFFF#000000##FFFFFF
##5E511F1.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)
#594F19
Deuteranopia (green-blind)
#5D5321
Tritanopia (blue-blind)
#664B46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e511f;
/* rgb */ color: rgb(94, 81, 31);
/* oklch */ color: oklch(43.7% 0.070 94.7);
Tailwind
colors: {
  custom: {
    50: '#8e815d',
    500: '#5e511f',
    950: '#000000',
  },
}
SCSS
$custom: #5e511f;
$custom-light: #8e815d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e511f",
  "rgb": {
    "r": 94,
    "g": 81,
    "b": 31
  },
  "hsl": {
    "h": 47.619,
    "s": 50.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.4369,
    "c": 0.07044,
    "h": 94.7
  },
  "luminance": 0.08363
}

Semantic roles & 50–950 ramp

primary
#5E511F
secondary
#465693
accent
#6BDA4E
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0C0A04
muted
#7D7C79

Preview Lab

Preview with #5E511F

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

Preview Lab → · Contrast checker → · Palette generator →

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