#5E530F#5E530F

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

Color values

HEX#5E530F
RGBrgb(94, 83, 15)
HSLhsl(52, 72%, 21%)
HSVhsv(52, 84%, 37%)
CMYKcmyk(0%, 11.7%, 84%, 63.1%)
CIE-LABlab(35.20, -3.47, 38.28)
CIE-LCHlch(35.20, 38.44, 95.17°)
OKLaboklab(44.03% -0.0139 0.0832)
OKLCHoklch(44.03% 0.084 99.5)
XYZxyz(7.7960, 8.6011, 1.7014)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E530F #0F1A5E
analogous
#5E2C0F #5E530F #425E0F
triadic
#5E530F #0F5E53 #530F5E
tetradic
#5E530F #0F5E2C #0F1A5E #5E0F42
square
#5E530F #0F5E2C #0F1A5E #5E0F42
split-complementary
#5E530F #0F425E #2C0F5E
monochromatic
#1A1704 #292407 #5E530F #938217 #C8B020

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E530F#FFFFFF#000000##FFFFFF
##5E530F1.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)
#5C5101
Deuteranopia (green-blind)
#5F5514
Tritanopia (blue-blind)
#664C46
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e530f;
/* rgb */ color: rgb(94, 83, 15);
/* oklch */ color: oklch(44.0% 0.084 99.5);
Tailwind
colors: {
  custom: {
    50: '#8f8354',
    500: '#5e530f',
    950: '#000000',
  },
}
SCSS
$custom: #5e530f;
$custom-light: #8f8354;
$custom-dark: #000000;
JSON
{
  "hex": "#5e530f",
  "rgb": {
    "r": 94,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 51.646,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.44025,
    "c": 0.08438,
    "h": 99.5
  },
  "luminance": 0.08601
}

Semantic roles & 50–950 ramp

primary
#5E530F
secondary
#314097
accent
#52EF39
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5E530F

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

Preview Lab → · Contrast checker → · Palette generator →

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