#5F590F#5F590F

#5F590F is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.6% C 0.090 H 104.5°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#5F590F
RGBrgb(95, 89, 15)
HSLhsl(56, 73%, 22%)
HSVhsv(56, 84%, 37%)
CMYKcmyk(0%, 6.3%, 84.2%, 62.7%)
CIE-LABlab(37.14, -6.52, 40.05)
CIE-LCHlch(37.14, 40.58, 99.24°)
OKLaboklab(45.59% -0.0225 0.087)
OKLCHoklch(45.59% 0.09 104.5)
XYZxyz(8.3783, 9.6125, 1.8659)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F590F #0F155F
analogous
#5F310F #5F590F #3D5F0F
triadic
#5F590F #0F5F59 #590F5F
tetradic
#5F590F #0F5F31 #0F155F #5F0F3D
square
#5F590F #0F5F31 #0F155F #5F0F3D
split-complementary
#5F590F #0F3D5F #310F5F
monochromatic
#1A1904 #2A2707 #5F590F #948B17 #C9BC20

Accessibility & contrast

On white

7.19
#5F590F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5F590F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F590F
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F590F#FFFFFF#000000##FFFFFF
##5F590F1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#645915
Tritanopia (blue-blind)
#67524B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5f590f;
/* rgb */ color: rgb(95, 89, 15);
/* oklch */ color: oklch(45.6% 0.090 104.5);
Tailwind
colors: {
  custom: {
    50: '#8f8755',
    500: '#5f590f',
    950: '#000000',
  },
}
SCSS
$custom: #5f590f;
$custom-light: #8f8755;
$custom-dark: #000000;
JSON
{
  "hex": "#5f590f",
  "rgb": {
    "r": 95,
    "g": 89,
    "b": 15
  },
  "hsl": {
    "h": 55.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45586,
    "c": 0.08985,
    "h": 104.5
  },
  "luminance": 0.09612
}

Semantic roles & 50–950 ramp

primary
#5F590F
secondary
#323998
accent
#46EF38
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F590F

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

Preview Lab → · Contrast checker → · Palette generator →

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