#5E5214#5E5214

#5E5214 is a dark, moderate yellow. Relative luminance 0.085; OKLCH L 43.8% C 0.080 H 97.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5E5214
RGBrgb(94, 82, 20)
HSLhsl(50, 65%, 22%)
HSVhsv(50, 79%, 37%)
CMYKcmyk(0%, 12.8%, 78.7%, 63.1%)
CIE-LABlab(34.93, -2.63, 36.06)
CIE-LCHlch(34.93, 36.16, 94.17°)
OKLaboklab(43.82% -0.011 0.0796)
OKLCHoklch(43.82% 0.08 97.9)
XYZxyz(7.7600, 8.4652, 1.8869)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5214 #14205E
analogous
#5E2D14 #5E5214 #455E14
triadic
#5E5214 #145E52 #52145E
tetradic
#5E5214 #145E2D #14205E #5E1445
square
#5E5214 #145E2D #14205E #5E1445
split-complementary
#5E5214 #14455E #2D145E
monochromatic
#191605 #2C2609 #5E5214 #907E1F #C3AA29

Accessibility & contrast

On white

7.80
#5E5214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#5E5214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5214
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5214#FFFFFF#000000##FFFFFF
##5E52141.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5009
Deuteranopia (green-blind)
#5E5418
Tritanopia (blue-blind)
#664B46
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5e5214;
/* rgb */ color: rgb(94, 82, 20);
/* oklch */ color: oklch(43.8% 0.080 97.9);
Tailwind
colors: {
  custom: {
    50: '#8f8256',
    500: '#5e5214',
    950: '#000000',
  },
}
SCSS
$custom: #5e5214;
$custom-light: #8f8256;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5214",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 20
  },
  "hsl": {
    "h": 50.27,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4382,
    "c": 0.08036,
    "h": 97.9
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#5E5214
secondary
#384796
accent
#5BE840
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5214

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

Preview Lab → · Contrast checker → · Palette generator →

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