#5E5210#5E5210

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

Color values

HEX#5E5210
RGBrgb(94, 82, 16)
HSLhsl(51, 71%, 22%)
HSVhsv(51, 83%, 37%)
CMYKcmyk(0%, 12.8%, 83%, 63.1%)
CIE-LABlab(34.91, -2.82, 37.64)
CIE-LCHlch(34.91, 37.75, 94.29°)
OKLaboklab(43.79% -0.012 0.0821)
OKLCHoklch(43.79% 0.083 98.3)
XYZxyz(7.7273, 8.4521, 1.7145)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5210 #101C5E
analogous
#5E2B10 #5E5210 #435E10
triadic
#5E5210 #105E52 #52105E
tetradic
#5E5210 #105E2B #101C5E #5E1043
square
#5E5210 #105E2B #101C5E #5E1043
split-complementary
#5E5210 #10435E #2B105E
monochromatic
#1A1704 #2A2407 #5E5210 #928019 #C7AD22

Accessibility & contrast

On white

7.81
#5E5210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E5210
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5210#FFFFFF#000000##FFFFFF
##5E52101.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e5210;
/* rgb */ color: rgb(94, 82, 16);
/* oklch */ color: oklch(43.8% 0.083 98.3);
Tailwind
colors: {
  custom: {
    50: '#8f8254',
    500: '#5e5210',
    950: '#000000',
  },
}
SCSS
$custom: #5e5210;
$custom-light: #8f8254;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5210",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 50.769,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43791,
    "c": 0.08295,
    "h": 98.3
  },
  "luminance": 0.08452
}

Semantic roles & 50–950 ramp

primary
#5E5210
secondary
#334297
accent
#56EE3A
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5210

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

Preview Lab → · Contrast checker → · Palette generator →

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