#5E500F#5E500F

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

Color values

HEX#5E500F
RGBrgb(94, 80, 15)
HSLhsl(49, 72%, 21%)
HSVhsv(49, 84%, 37%)
CMYKcmyk(0%, 14.9%, 84%, 63.1%)
CIE-LABlab(34.30, -1.66, 37.46)
CIE-LCHlch(34.30, 37.50, 92.54°)
OKLaboklab(43.31% -0.0088 0.0815)
OKLCHoklch(43.31% 0.082 96.2)
XYZxyz(7.5714, 8.1519, 1.6265)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E500F #0F1D5E
analogous
#5E290F #5E500F #455E0F
triadic
#5E500F #0F5E50 #500F5E
tetradic
#5E500F #0F5E29 #0F1D5E #5E0F45
square
#5E500F #0F5E29 #0F1D5E #5E0F45
split-complementary
#5E500F #0F455E #290F5E
monochromatic
#1A1604 #292307 #5E500F #937D17 #C8AA20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E500F#FFFFFF#000000##FFFFFF
##5E500F1.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)
#594E02
Deuteranopia (green-blind)
#5D5313
Tritanopia (blue-blind)
#664944
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5e500f;
/* rgb */ color: rgb(94, 80, 15);
/* oklch */ color: oklch(43.3% 0.082 96.2);
Tailwind
colors: {
  custom: {
    50: '#8f8054',
    500: '#5e500f',
    950: '#000000',
  },
}
SCSS
$custom: #5e500f;
$custom-light: #8f8054;
$custom-dark: #000000;
JSON
{
  "hex": "#5e500f",
  "rgb": {
    "r": 94,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 49.367,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.43306,
    "c": 0.08194,
    "h": 96.2
  },
  "luminance": 0.08151
}

Semantic roles & 50–950 ramp

primary
#5E500F
secondary
#314497
accent
#59EF39
background
#F9F7F5
surface
#F1EEE8
border
#CBC9C4
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E500F

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

Preview Lab → · Contrast checker → · Palette generator →

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