#5E5310#5E5310

#5E5310 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 44.0% C 0.084 H 99.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#5E5310
RGBrgb(94, 83, 16)
HSLhsl(52, 71%, 22%)
HSVhsv(52, 83%, 37%)
CMYKcmyk(0%, 11.7%, 83%, 63.1%)
CIE-LABlab(35.21, -3.42, 37.92)
CIE-LCHlch(35.21, 38.07, 95.16°)
OKLaboklab(44.03% -0.0137 0.0827)
OKLCHoklch(44.03% 0.084 99.4)
XYZxyz(7.8033, 8.6040, 1.7398)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5310 #101B5E
analogous
#5E2C10 #5E5310 #425E10
triadic
#5E5310 #105E53 #53105E
tetradic
#5E5310 #105E2C #101B5E #5E1042
square
#5E5310 #105E2C #101B5E #5E1042
split-complementary
#5E5310 #10425E #2C105E
monochromatic
#1A1704 #2A2507 #5E5310 #928119 #C7AF22

Accessibility & contrast

On white

7.72
#5E5310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#5E5310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5310
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5310#FFFFFF#000000##FFFFFF
##5E53101.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5103
Deuteranopia (green-blind)
#5F5515
Tritanopia (blue-blind)
#664C46
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e5310;
/* rgb */ color: rgb(94, 83, 16);
/* oklch */ color: oklch(44.0% 0.084 99.4);
Tailwind
colors: {
  custom: {
    50: '#8f8355',
    500: '#5e5310',
    950: '#000000',
  },
}
SCSS
$custom: #5e5310;
$custom-light: #8f8355;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5310",
  "rgb": {
    "r": 94,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 51.538,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44032,
    "c": 0.08379,
    "h": 99.4
  },
  "luminance": 0.08604
}

Semantic roles & 50–950 ramp

primary
#5E5310
secondary
#334197
accent
#53EE3A
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5310

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

Preview Lab → · Contrast checker → · Palette generator →

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