#5E5112#5E5112

#5E5112 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.6% C 0.081 H 97.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#5E5112
RGBrgb(94, 81, 18)
HSLhsl(50, 68%, 22%)
HSVhsv(50, 81%, 37%)
CMYKcmyk(0%, 13.8%, 80.9%, 63.1%)
CIE-LABlab(34.62, -2.13, 36.59)
CIE-LCHlch(34.62, 36.65, 93.33°)
OKLaboklab(43.57% -0.0098 0.0803)
OKLCHoklch(43.57% 0.081 97)
XYZxyz(7.6681, 8.3086, 1.7720)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5112 #121F5E
analogous
#5E2B12 #5E5112 #455E12
triadic
#5E5112 #125E51 #51125E
tetradic
#5E5112 #125E2B #121F5E #5E1245
square
#5E5112 #125E2B #121F5E #5E1245
split-complementary
#5E5112 #12455E #2B125E
monochromatic
#1A1605 #2B2508 #5E5112 #917D1C #C5AA26

Accessibility & contrast

On white

7.89
#5E5112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E5112
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5112#FFFFFF#000000##FFFFFF
##5E51121.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e5112;
/* rgb */ color: rgb(94, 81, 18);
/* oklch */ color: oklch(43.6% 0.081 97.0);
Tailwind
colors: {
  custom: {
    50: '#8f8155',
    500: '#5e5112',
    950: '#000000',
  },
}
SCSS
$custom: #5e5112;
$custom-light: #8f8155;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5112",
  "rgb": {
    "r": 94,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 49.737,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43566,
    "c": 0.08088,
    "h": 97
  },
  "luminance": 0.08308
}

Semantic roles & 50–950 ramp

primary
#5E5112
secondary
#354696
accent
#5BEB3D
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5112

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

Preview Lab → · Contrast checker → · Palette generator →

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