#5E5913#5E5913

#5E5913 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.5% C 0.088 H 105.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5E5913
RGBrgb(94, 89, 19)
HSLhsl(56, 66%, 22%)
HSVhsv(56, 80%, 37%)
CMYKcmyk(0%, 5.3%, 79.8%, 63.1%)
CIE-LABlab(37.06, -6.83, 38.49)
CIE-LCHlch(37.06, 39.09, 100.07°)
OKLaboklab(45.51% -0.023 0.0846)
OKLCHoklch(45.51% 0.088 105.2)
XYZxyz(8.3064, 9.5718, 2.0260)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5913 #13185E
analogous
#5E3413 #5E5913 #3E5E13
triadic
#5E5913 #135E59 #59135E
tetradic
#5E5913 #135E34 #13185E #5E133E
square
#5E5913 #135E34 #13185E #5E133E
split-complementary
#5E5913 #133E5E #34135E
monochromatic
#191805 #2B2909 #5E5913 #91891D #C4B928

Accessibility & contrast

On white

7.21
#5E5913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#5E5913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5913
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5913#FFFFFF#000000##FFFFFF
##5E59131.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625605
Deuteranopia (green-blind)
#635918
Tritanopia (blue-blind)
#66524C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e5913;
/* rgb */ color: rgb(94, 89, 19);
/* oklch */ color: oklch(45.5% 0.088 105.2);
Tailwind
colors: {
  custom: {
    50: '#8e8757',
    500: '#5e5913',
    950: '#000000',
  },
}
SCSS
$custom: #5e5913;
$custom-light: #8e8757;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5913",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 19
  },
  "hsl": {
    "h": 56,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.4551,
    "c": 0.08761,
    "h": 105.2
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#5E5913
secondary
#373D96
accent
#4AE93F
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5913

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

Preview Lab → · Contrast checker → · Palette generator →

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