#5E5412#5E5412

#5E5412 is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.3% C 0.083 H 100.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#5E5412
RGBrgb(94, 84, 18)
HSLhsl(52, 68%, 22%)
HSVhsv(52, 81%, 37%)
CMYKcmyk(0%, 10.6%, 80.9%, 63.1%)
CIE-LABlab(35.53, -3.93, 37.44)
CIE-LCHlch(35.53, 37.65, 95.99°)
OKLaboklab(44.29% -0.0149 0.0821)
OKLCHoklch(44.29% 0.083 100.3)
XYZxyz(7.8960, 8.7644, 1.8479)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5412 #121C5E
analogous
#5E2E12 #5E5412 #425E12
triadic
#5E5412 #125E54 #54125E
tetradic
#5E5412 #125E2E #121C5E #5E1242
square
#5E5412 #125E2E #121C5E #5E1242
split-complementary
#5E5412 #12425E #2E125E
monochromatic
#1A1705 #2B2608 #5E5412 #91821C #C5B026

Accessibility & contrast

On white

7.63
#5E5412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5E5412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5412
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5412#FFFFFF#000000##FFFFFF
##5E54121.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5105
Deuteranopia (green-blind)
#605517
Tritanopia (blue-blind)
#664D47
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5e5412;
/* rgb */ color: rgb(94, 84, 18);
/* oklch */ color: oklch(44.3% 0.083 100.3);
Tailwind
colors: {
  custom: {
    50: '#8f8356',
    500: '#5e5412',
    950: '#000000',
  },
}
SCSS
$custom: #5e5412;
$custom-light: #8f8356;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5412",
  "rgb": {
    "r": 94,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 52.105,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.44287,
    "c": 0.08344,
    "h": 100.3
  },
  "luminance": 0.08764
}

Semantic roles & 50–950 ramp

primary
#5E5412
secondary
#354296
accent
#54EB3D
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5412

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

Preview Lab → · Contrast checker → · Palette generator →

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