#5E5612#5E5612

#5E5612 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.8% C 0.085 H 102.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#5E5612
RGBrgb(94, 86, 18)
HSLhsl(54, 68%, 22%)
HSVhsv(54, 81%, 37%)
CMYKcmyk(0%, 8.5%, 80.9%, 63.1%)
CIE-LABlab(36.14, -5.12, 38.01)
CIE-LCHlch(36.14, 38.35, 97.67°)
OKLaboklab(44.77% -0.0182 0.0833)
OKLCHoklch(44.77% 0.085 102.3)
XYZxyz(8.0534, 9.0793, 1.9004)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5612 #121A5E
analogous
#5E3012 #5E5612 #405E12
triadic
#5E5612 #125E56 #56125E
tetradic
#5E5612 #125E30 #121A5E #5E1240
square
#5E5612 #125E30 #121A5E #5E1240
split-complementary
#5E5612 #12405E #30125E
monochromatic
#1A1705 #2B2708 #5E5612 #91851C #C5B426

Accessibility & contrast

On white

7.46
#5E5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5E5612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5612
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5612#FFFFFF#000000##FFFFFF
##5E56121.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5305
Deuteranopia (green-blind)
#615717
Tritanopia (blue-blind)
#664F49
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e5612;
/* rgb */ color: rgb(94, 86, 18);
/* oklch */ color: oklch(44.8% 0.085 102.3);
Tailwind
colors: {
  custom: {
    50: '#8f8556',
    500: '#5e5612',
    950: '#000000',
  },
}
SCSS
$custom: #5e5612;
$custom-light: #8f8556;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5612",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 53.684,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.44771,
    "c": 0.08528,
    "h": 102.3
  },
  "luminance": 0.09079
}

Semantic roles & 50–950 ramp

primary
#5E5612
secondary
#354096
accent
#4FEB3D
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5612

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

Preview Lab → · Contrast checker → · Palette generator →

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