#5F580F#5F580F

#5F580F is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.3% C 0.089 H 103.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5F580F
RGBrgb(95, 88, 15)
HSLhsl(55, 73%, 22%)
HSVhsv(55, 84%, 37%)
CMYKcmyk(0%, 7.4%, 84.2%, 62.7%)
CIE-LABlab(36.83, -5.93, 39.78)
CIE-LCHlch(36.83, 40.22, 98.48°)
OKLaboklab(45.34% -0.0209 0.0864)
OKLCHoklch(45.34% 0.089 103.6)
XYZxyz(8.2956, 9.4472, 1.8384)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F580F #0F165F
analogous
#5F300F #5F580F #3E5F0F
triadic
#5F580F #0F5F58 #580F5F
tetradic
#5F580F #0F5F30 #0F165F #5F0F3E
square
#5F580F #0F5F30 #0F165F #5F0F3E
split-complementary
#5F580F #0F3E5F #300F5F
monochromatic
#1A1804 #2A2707 #5F580F #948917 #C9BA20

Accessibility & contrast

On white

7.27
#5F580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5F580F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F580F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F580F#FFFFFF#000000##FFFFFF
##5F580F1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#635815
Tritanopia (blue-blind)
#67514B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5f580f;
/* rgb */ color: rgb(95, 88, 15);
/* oklch */ color: oklch(45.3% 0.089 103.6);
Tailwind
colors: {
  custom: {
    50: '#8f8655',
    500: '#5f580f',
    950: '#000000',
  },
}
SCSS
$custom: #5f580f;
$custom-light: #8f8655;
$custom-dark: #000000;
JSON
{
  "hex": "#5f580f",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 54.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45342,
    "c": 0.08888,
    "h": 103.6
  },
  "luminance": 0.09447
}

Semantic roles & 50–950 ramp

primary
#5F580F
secondary
#323B98
accent
#48EF38
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F580F

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

Preview Lab → · Contrast checker → · Palette generator →

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