#5F5B15#5F5B15

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

Color values

HEX#5F5B15
RGBrgb(95, 91, 21)
HSLhsl(57, 64%, 23%)
HSVhsv(57, 78%, 37%)
CMYKcmyk(0%, 4.2%, 77.9%, 62.7%)
CIE-LABlab(37.79, -7.41, 38.42)
CIE-LCHlch(37.79, 39.13, 100.91°)
OKLaboklab(46.12% -0.0244 0.0848)
OKLCHoklch(46.12% 0.088 106.1)
XYZxyz(8.5961, 9.9695, 2.1808)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5B15 #15195F
analogous
#5F3615 #5F5B15 #3E5F15
triadic
#5F5B15 #155F5B #5B155F
tetradic
#5F5B15 #155F36 #15195F #5F153E
square
#5F5B15 #155F36 #15195F #5F153E
split-complementary
#5F5B15 #153E5F #36155F
monochromatic
#191806 #2D2B0A #5F5B15 #918B20 #C3BB2B

Accessibility & contrast

On white

7.01
#5F5B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F5B15
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5B15#FFFFFF#000000##FFFFFF
##5F5B151.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f5b15;
/* rgb */ color: rgb(95, 91, 21);
/* oklch */ color: oklch(46.1% 0.088 106.1);
Tailwind
colors: {
  custom: {
    50: '#8f8958',
    500: '#5f5b15',
    950: '#000000',
  },
}
SCSS
$custom: #5f5b15;
$custom-light: #8f8958;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5b15",
  "rgb": {
    "r": 95,
    "g": 91,
    "b": 21
  },
  "hsl": {
    "h": 56.757,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.46115,
    "c": 0.08822,
    "h": 106.1
  },
  "luminance": 0.09969
}

Semantic roles & 50–950 ramp

primary
#5F5B15
secondary
#3A3F96
accent
#4AE741
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5F5B15

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

Preview Lab → · Contrast checker → · Palette generator →

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