#5F5B14#5F5B14

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

Color values

HEX#5F5B14
RGBrgb(95, 91, 20)
HSLhsl(57, 65%, 23%)
HSVhsv(57, 79%, 37%)
CMYKcmyk(0%, 4.2%, 78.9%, 62.7%)
CIE-LABlab(37.78, -7.46, 38.81)
CIE-LCHlch(37.78, 39.52, 100.88°)
OKLaboklab(46.11% -0.0247 0.0854)
OKLCHoklch(46.11% 0.089 106.1)
XYZxyz(8.5870, 9.9659, 2.1330)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5B14 #14185F
analogous
#5F3514 #5F5B14 #3D5F14
triadic
#5F5B14 #145F5B #5B145F
tetradic
#5F5B14 #145F35 #14185F #5F143D
square
#5F5B14 #145F35 #14185F #5F143D
split-complementary
#5F5B14 #143D5F #35145F
monochromatic
#191805 #2C2B09 #5F5B14 #928B1F #C4BC29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5B14#FFFFFF#000000##FFFFFF
##5F5B141.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)
#645706
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#67544D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5f5b14;
/* rgb */ color: rgb(95, 91, 20);
/* oklch */ color: oklch(46.1% 0.089 106.1);
Tailwind
colors: {
  custom: {
    50: '#8f8958',
    500: '#5f5b14',
    950: '#000000',
  },
}
SCSS
$custom: #5f5b14;
$custom-light: #8f8958;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5b14",
  "rgb": {
    "r": 95,
    "g": 91,
    "b": 20
  },
  "hsl": {
    "h": 56.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46107,
    "c": 0.08889,
    "h": 106.1
  },
  "luminance": 0.09966
}

Semantic roles & 50–950 ramp

primary
#5F5B14
secondary
#383D97
accent
#49E840
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5B14

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

Preview Lab → · Contrast checker → · Palette generator →

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