#5E5B13#5E5B13

#5E5B13 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 46.0% C 0.090 H 107.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5E5B13
RGBrgb(94, 91, 19)
HSLhsl(58, 66%, 22%)
HSVhsv(58, 80%, 37%)
CMYKcmyk(0%, 3.2%, 79.8%, 63.1%)
CIE-LABlab(37.68, -8.00, 39.07)
CIE-LCHlch(37.68, 39.88, 101.57°)
OKLaboklab(46% -0.0262 0.0858)
OKLCHoklch(46% 0.09 107)
XYZxyz(8.4751, 9.9092, 2.0822)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5B13 #13165E
analogous
#5E3613 #5E5B13 #3C5E13
triadic
#5E5B13 #135E5B #5B135E
tetradic
#5E5B13 #135E36 #13165E #5E133C
square
#5E5B13 #135E36 #13165E #5E133C
split-complementary
#5E5B13 #133C5E #36135E
monochromatic
#191905 #2B2A09 #5E5B13 #918C1D #C4BE28

Accessibility & contrast

On white

7.04
#5E5B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5E5B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5B13
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5B13#FFFFFF#000000##FFFFFF
##5E5B131.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635705
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#65544D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5e5b13;
/* rgb */ color: rgb(94, 91, 19);
/* oklch */ color: oklch(46.0% 0.090 107.0);
Tailwind
colors: {
  custom: {
    50: '#8e8957',
    500: '#5e5b13',
    950: '#000000',
  },
}
SCSS
$custom: #5e5b13;
$custom-light: #8e8957;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5b13",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 19
  },
  "hsl": {
    "h": 57.6,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.46001,
    "c": 0.08969,
    "h": 107
  },
  "luminance": 0.09909
}

Semantic roles & 50–950 ramp

primary
#5E5B13
secondary
#373B96
accent
#45E93F
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5B13

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

Preview Lab → · Contrast checker → · Palette generator →

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