#5E5712#5E5712

#5E5712 is a mid, moderate yellow. Relative luminance 0.092; OKLCH L 45.0% C 0.086 H 103.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5E5712
RGBrgb(94, 87, 18)
HSLhsl(54, 68%, 22%)
HSVhsv(54, 81%, 37%)
CMYKcmyk(0%, 7.4%, 80.9%, 63.1%)
CIE-LABlab(36.44, -5.71, 38.30)
CIE-LCHlch(36.44, 38.72, 98.48°)
OKLaboklab(45.01% -0.0199 0.0839)
OKLCHoklch(45.01% 0.086 103.3)
XYZxyz(8.1338, 9.2401, 1.9272)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5712 #12195E
analogous
#5E3112 #5E5712 #3F5E12
triadic
#5E5712 #125E57 #57125E
tetradic
#5E5712 #125E31 #12195E #5E123F
square
#5E5712 #125E31 #12195E #5E123F
split-complementary
#5E5712 #123F5E #31125E
monochromatic
#1A1805 #2B2708 #5E5712 #91871C #C5B626

Accessibility & contrast

On white

7.37
#5E5712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5E5712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5712
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5712#FFFFFF#000000##FFFFFF
##5E57121.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605404
Deuteranopia (green-blind)
#625717
Tritanopia (blue-blind)
#66504A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e5712;
/* rgb */ color: rgb(94, 87, 18);
/* oklch */ color: oklch(45.0% 0.086 103.3);
Tailwind
colors: {
  custom: {
    50: '#8f8656',
    500: '#5e5712',
    950: '#000000',
  },
}
SCSS
$custom: #5e5712;
$custom-light: #8f8656;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5712",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 54.474,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.45014,
    "c": 0.08625,
    "h": 103.3
  },
  "luminance": 0.0924
}

Semantic roles & 50–950 ramp

primary
#5E5712
secondary
#353E96
accent
#4DEB3D
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5712

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

Preview Lab → · Contrast checker → · Palette generator →

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