#5F5B13#5F5B13

#5F5B13 is a mid, moderate yellow. Relative luminance 0.100; OKLCH L 46.1% C 0.090 H 106.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#5F5B13
RGBrgb(95, 91, 19)
HSLhsl(57, 67%, 22%)
HSVhsv(57, 80%, 37%)
CMYKcmyk(0%, 4.2%, 80%, 62.7%)
CIE-LABlab(37.77, -7.51, 39.19)
CIE-LCHlch(37.77, 39.90, 100.84°)
OKLaboklab(46.1% -0.0249 0.086)
OKLCHoklch(46.1% 0.09 106.2)
XYZxyz(8.5783, 9.9624, 2.0870)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5B13 #13175F
analogous
#5F3513 #5F5B13 #3D5F13
triadic
#5F5B13 #135F5B #5B135F
tetradic
#5F5B13 #135F35 #13175F #5F133D
square
#5F5B13 #135F35 #13175F #5F133D
split-complementary
#5F5B13 #133D5F #35135F
monochromatic
#1A1805 #2C2A09 #5F5B13 #928C1D #C5BD27

Accessibility & contrast

On white

7.02
#5F5B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5F5B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5B13
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5B13#FFFFFF#000000##FFFFFF
##5F5B131.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645705
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#67544D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5f5b13;
/* rgb */ color: rgb(95, 91, 19);
/* oklch */ color: oklch(46.1% 0.090 106.2);
Tailwind
colors: {
  custom: {
    50: '#8f8957',
    500: '#5f5b13',
    950: '#000000',
  },
}
SCSS
$custom: #5f5b13;
$custom-light: #8f8957;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5b13",
  "rgb": {
    "r": 95,
    "g": 91,
    "b": 19
  },
  "hsl": {
    "h": 56.842,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.461,
    "c": 0.08953,
    "h": 106.2
  },
  "luminance": 0.09962
}

Semantic roles & 50–950 ramp

primary
#5F5B13
secondary
#373C97
accent
#47EA3E
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5B13

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

Preview Lab → · Contrast checker → · Palette generator →

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