#5E511C#5E511C

#5E511C is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.7% C 0.073 H 95.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5E511C
RGBrgb(94, 81, 28)
HSLhsl(48, 54%, 24%)
HSVhsv(48, 70%, 37%)
CMYKcmyk(0%, 13.8%, 70.2%, 63.1%)
CIE-LABlab(34.70, -1.54, 32.12)
CIE-LCHlch(34.70, 32.16, 92.75°)
OKLaboklab(43.66% -0.0068 0.0729)
OKLCHoklch(43.66% 0.073 95.4)
XYZxyz(7.7685, 8.3488, 2.3007)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E511C #1C295E
analogous
#5E301C #5E511C #4A5E1C
triadic
#5E511C #1C5E51 #511C5E
tetradic
#5E511C #1C5E30 #1C295E #5E1C4A
square
#5E511C #1C5E30 #1C295E #5E1C4A
split-complementary
#5E511C #1C4A5E #301C5E
monochromatic
#181407 #2F280E #5E511C #8D7A2A #BCA238

Accessibility & contrast

On white

7.87
#5E511C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E511C
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E511C#FFFFFF#000000##FFFFFF
##5E511C1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F16
Deuteranopia (green-blind)
#5D531F
Tritanopia (blue-blind)
#664B46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e511c;
/* rgb */ color: rgb(94, 81, 28);
/* oklch */ color: oklch(43.7% 0.073 95.4);
Tailwind
colors: {
  custom: {
    50: '#8e815b',
    500: '#5e511c',
    950: '#000000',
  },
}
SCSS
$custom: #5e511c;
$custom-light: #8e815b;
$custom-dark: #000000;
JSON
{
  "hex": "#5e511c",
  "rgb": {
    "r": 94,
    "g": 81,
    "b": 28
  },
  "hsl": {
    "h": 48.182,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.43656,
    "c": 0.07318,
    "h": 95.4
  },
  "luminance": 0.08348
}

Semantic roles & 50–950 ramp

primary
#5E511C
secondary
#425293
accent
#67DD4A
background
#F8F7F5
surface
#F0EEE9
border
#CBC9C5
text
#0D0A04
muted
#7D7C79

Preview Lab

Preview with #5E511C

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

Preview Lab → · Contrast checker → · Palette generator →

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