#5E5010#5E5010

#5E5010 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.3% C 0.081 H 96.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#5E5010
RGBrgb(94, 80, 16)
HSLhsl(49, 71%, 22%)
HSVhsv(49, 83%, 37%)
CMYKcmyk(0%, 14.9%, 83%, 63.1%)
CIE-LABlab(34.30, -1.62, 37.09)
CIE-LCHlch(34.30, 37.12, 92.50°)
OKLaboklab(43.31% -0.0086 0.0809)
OKLCHoklch(43.31% 0.081 96)
XYZxyz(7.5787, 8.1548, 1.6650)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5010 #101E5E
analogous
#5E2910 #5E5010 #455E10
triadic
#5E5010 #105E50 #50105E
tetradic
#5E5010 #105E29 #101E5E #5E1045
square
#5E5010 #105E29 #101E5E #5E1045
split-complementary
#5E5010 #10455E #29105E
monochromatic
#1A1604 #2A2307 #5E5010 #927D19 #C7A922

Accessibility & contrast

On white

7.98
#5E5010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5E5010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5010
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5010#FFFFFF#000000##FFFFFF
##5E50101.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E04
Deuteranopia (green-blind)
#5D5314
Tritanopia (blue-blind)
#664944
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e5010;
/* rgb */ color: rgb(94, 80, 16);
/* oklch */ color: oklch(43.3% 0.081 96.0);
Tailwind
colors: {
  custom: {
    50: '#8f8054',
    500: '#5e5010',
    950: '#000000',
  },
}
SCSS
$custom: #5e5010;
$custom-light: #8f8054;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5010",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 49.231,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.43313,
    "c": 0.08135,
    "h": 96
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#5E5010
secondary
#334597
accent
#5AEE3A
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E5010

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

Preview Lab → · Contrast checker → · Palette generator →

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