#5E510F#5E510F

#5E510F is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.5% C 0.083 H 97.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5E510F
RGBrgb(94, 81, 15)
HSLhsl(50, 72%, 21%)
HSVhsv(50, 84%, 37%)
CMYKcmyk(0%, 13.8%, 84%, 63.1%)
CIE-LABlab(34.60, -2.26, 37.74)
CIE-LCHlch(34.60, 37.80, 93.43°)
OKLaboklab(43.55% -0.0105 0.0821)
OKLCHoklch(43.55% 0.083 97.3)
XYZxyz(7.6452, 8.2994, 1.6511)
Luminance0.0830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E510F #0F1C5E
analogous
#5E2A0F #5E510F #445E0F
triadic
#5E510F #0F5E51 #510F5E
tetradic
#5E510F #0F5E2A #0F1C5E #5E0F44
square
#5E510F #0F5E2A #0F1C5E #5E0F44
split-complementary
#5E510F #0F445E #2A0F5E
monochromatic
#1A1704 #292407 #5E510F #937E17 #C8AC20

Accessibility & contrast

On white

7.90
#5E510F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5E510F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E510F
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E510F#FFFFFF#000000##FFFFFF
##5E510F1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F02
Deuteranopia (green-blind)
#5E5314
Tritanopia (blue-blind)
#664A45
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e510f;
/* rgb */ color: rgb(94, 81, 15);
/* oklch */ color: oklch(43.5% 0.083 97.3);
Tailwind
colors: {
  custom: {
    50: '#8f8154',
    500: '#5e510f',
    950: '#000000',
  },
}
SCSS
$custom: #5e510f;
$custom-light: #8f8154;
$custom-dark: #000000;
JSON
{
  "hex": "#5e510f",
  "rgb": {
    "r": 94,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 50.127,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43545,
    "c": 0.08272,
    "h": 97.3
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

primary
#5E510F
secondary
#314297
accent
#57EF39
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E510F

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

Preview Lab → · Contrast checker → · Palette generator →

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