#5F5B11#5F5B11

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

Color values

HEX#5F5B11
RGBrgb(95, 91, 17)
HSLhsl(57, 70%, 22%)
HSVhsv(57, 82%, 37%)
CMYKcmyk(0%, 4.2%, 82.1%, 62.7%)
CIE-LABlab(37.76, -7.60, 39.92)
CIE-LCHlch(37.76, 40.63, 100.78°)
OKLaboklab(46.09% -0.0254 0.0871)
OKLCHoklch(46.09% 0.091 106.2)
XYZxyz(8.5619, 9.9559, 2.0009)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5B11 #11155F
analogous
#5F3411 #5F5B11 #3C5F11
triadic
#5F5B11 #115F5B #5B115F
tetradic
#5F5B11 #115F34 #11155F #5F113C
square
#5F5B11 #115F34 #11155F #5F113C
split-complementary
#5F5B11 #113C5F #34115F
monochromatic
#1A1905 #2B2908 #5F5B11 #938D1A #C7BE24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5B11#FFFFFF#000000##FFFFFF
##5F5B111.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)
#645701
Deuteranopia (green-blind)
#655A17
Tritanopia (blue-blind)
#67544D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5f5b11;
/* rgb */ color: rgb(95, 91, 17);
/* oklch */ color: oklch(46.1% 0.091 106.2);
Tailwind
colors: {
  custom: {
    50: '#8f8956',
    500: '#5f5b11',
    950: '#000000',
  },
}
SCSS
$custom: #5f5b11;
$custom-light: #8f8956;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5b11",
  "rgb": {
    "r": 95,
    "g": 91,
    "b": 17
  },
  "hsl": {
    "h": 56.923,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.46087,
    "c": 0.09073,
    "h": 106.2
  },
  "luminance": 0.09956
}

Semantic roles & 50–950 ramp

primary
#5F5B11
secondary
#343998
accent
#44EC3B
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5B11

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

Preview Lab → · Contrast checker → · Palette generator →

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