#5F5A13#5F5A13

#5F5A13 is a mid, moderate yellow. Relative luminance 0.098; OKLCH L 45.9% C 0.088 H 105.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5F5A13
RGBrgb(95, 90, 19)
HSLhsl(56, 67%, 22%)
HSVhsv(56, 80%, 37%)
CMYKcmyk(0%, 5.3%, 80%, 62.7%)
CIE-LABlab(37.47, -6.93, 38.90)
CIE-LCHlch(37.47, 39.52, 100.09°)
OKLaboklab(45.86% -0.0233 0.0854)
OKLCHoklch(45.86% 0.088 105.2)
XYZxyz(8.4934, 9.7926, 2.0587)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5A13 #13185F
analogous
#5F3413 #5F5A13 #3E5F13
triadic
#5F5A13 #135F5A #5A135F
tetradic
#5F5A13 #135F34 #13185F #5F133E
square
#5F5A13 #135F34 #13185F #5F133E
split-complementary
#5F5A13 #133E5F #34135F
monochromatic
#1A1805 #2C2A09 #5F5A13 #928A1D #C5BB27

Accessibility & contrast

On white

7.10
#5F5A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#5F5A13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5A13
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5A13#FFFFFF#000000##FFFFFF
##5F5A131.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635605
Deuteranopia (green-blind)
#645A18
Tritanopia (blue-blind)
#67534C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5f5a13;
/* rgb */ color: rgb(95, 90, 19);
/* oklch */ color: oklch(45.9% 0.088 105.2);
Tailwind
colors: {
  custom: {
    50: '#8f8857',
    500: '#5f5a13',
    950: '#000000',
  },
}
SCSS
$custom: #5f5a13;
$custom-light: #8f8857;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5a13",
  "rgb": {
    "r": 95,
    "g": 90,
    "b": 19
  },
  "hsl": {
    "h": 56.053,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45856,
    "c": 0.08849,
    "h": 105.2
  },
  "luminance": 0.09792
}

Semantic roles & 50–950 ramp

primary
#5F5A13
secondary
#373D97
accent
#49EA3E
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5A13

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

Preview Lab → · Contrast checker → · Palette generator →

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