#5F530F#5F530F

#5F530F is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 44.1% C 0.084 H 98.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5F530F
RGBrgb(95, 83, 15)
HSLhsl(51, 73%, 22%)
HSVhsv(51, 84%, 37%)
CMYKcmyk(0%, 12.6%, 84.2%, 62.7%)
CIE-LABlab(35.31, -2.97, 38.42)
CIE-LCHlch(35.31, 38.53, 94.41°)
OKLaboklab(44.13% -0.0125 0.0835)
OKLCHoklch(44.13% 0.084 98.5)
XYZxyz(7.8992, 8.6543, 1.7062)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F530F #0F1B5F
analogous
#5F2B0F #5F530F #435F0F
triadic
#5F530F #0F5F53 #530F5F
tetradic
#5F530F #0F5F2B #0F1B5F #5F0F43
square
#5F530F #0F5F2B #0F1B5F #5F0F43
split-complementary
#5F530F #0F435F #2B0F5F
monochromatic
#1A1704 #2A2507 #5F530F #948117 #C9AF20

Accessibility & contrast

On white

7.69
#5F530F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5F530F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F530F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F530F#FFFFFF#000000##FFFFFF
##5F530F1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5101
Deuteranopia (green-blind)
#5F5514
Tritanopia (blue-blind)
#674C46
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5f530f;
/* rgb */ color: rgb(95, 83, 15);
/* oklch */ color: oklch(44.1% 0.084 98.5);
Tailwind
colors: {
  custom: {
    50: '#908354',
    500: '#5f530f',
    950: '#000000',
  },
}
SCSS
$custom: #5f530f;
$custom-light: #908354;
$custom-dark: #000000;
JSON
{
  "hex": "#5f530f",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 51,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44134,
    "c": 0.0844,
    "h": 98.5
  },
  "luminance": 0.08654
}

Semantic roles & 50–950 ramp

primary
#5F530F
secondary
#324198
accent
#54EF38
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A03
muted
#7E7C78

Preview Lab

Preview with #5F530F

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

Preview Lab → · Contrast checker → · Palette generator →

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