#5E5312#5E5312

#5E5312 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 44.0% C 0.083 H 99.2°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#5E5312
RGBrgb(94, 83, 18)
HSLhsl(51, 68%, 22%)
HSVhsv(51, 81%, 37%)
CMYKcmyk(0%, 11.7%, 80.9%, 63.1%)
CIE-LABlab(35.22, -3.33, 37.16)
CIE-LCHlch(35.22, 37.31, 95.12°)
OKLaboklab(44.05% -0.0132 0.0815)
OKLCHoklch(44.05% 0.083 99.2)
XYZxyz(7.8189, 8.6103, 1.8222)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5312 #121D5E
analogous
#5E2D12 #5E5312 #435E12
triadic
#5E5312 #125E53 #53125E
tetradic
#5E5312 #125E2D #121D5E #5E1243
square
#5E5312 #125E2D #121D5E #5E1243
split-complementary
#5E5312 #12435E #2D125E
monochromatic
#1A1705 #2B2608 #5E5312 #91801C #C5AE26

Accessibility & contrast

On white

7.71
#5E5312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5E5312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5312
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5312#FFFFFF#000000##FFFFFF
##5E53121.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5106
Deuteranopia (green-blind)
#5F5516
Tritanopia (blue-blind)
#664C47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e5312;
/* rgb */ color: rgb(94, 83, 18);
/* oklch */ color: oklch(44.0% 0.083 99.2);
Tailwind
colors: {
  custom: {
    50: '#8f8356',
    500: '#5e5312',
    950: '#000000',
  },
}
SCSS
$custom: #5e5312;
$custom-light: #8f8356;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5312",
  "rgb": {
    "r": 94,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 51.316,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.44045,
    "c": 0.08256,
    "h": 99.2
  },
  "luminance": 0.0861
}

Semantic roles & 50–950 ramp

primary
#5E5312
secondary
#354496
accent
#56EB3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5312

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

Preview Lab → · Contrast checker → · Palette generator →

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