#5B5F0E#5B5F0E

#5B5F0E is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.7% C 0.098 H 112.6°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5B5F0E
RGBrgb(91, 95, 14)
HSLhsl(63, 74%, 21%)
HSVhsv(63, 85%, 37%)
CMYKcmyk(4.2%, 0%, 85.3%, 62.7%)
CIE-LABlab(38.62, -11.96, 41.55)
CIE-LCHlch(38.62, 43.24, 106.06°)
OKLaboklab(46.68% -0.0375 0.0902)
OKLCHoklch(46.68% 0.098 112.6)
XYZxyz(8.4861, 10.4405, 1.9836)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5F0E #120E5F
analogous
#5F3B0E #5B5F0E #335F0E
triadic
#5B5F0E #0E5B5F #5F0E5B
tetradic
#5B5F0E #0E5F3B #120E5F #5F0E33
square
#5B5F0E #0E5F3B #120E5F #5F0E33
split-complementary
#5B5F0E #0E335F #3B0E5F
monochromatic
#1A1B04 #282A06 #5B5F0E #8E9416 #C1CA1E

Accessibility & contrast

On white

6.80
#5B5F0E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5B5F0E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5F0E
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5F0E#FFFFFF#000000##FFFFFF
##5B5F0E1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#675C16
Tritanopia (blue-blind)
#625950
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b5f0e;
/* rgb */ color: rgb(91, 95, 14);
/* oklch */ color: oklch(46.7% 0.098 112.6);
Tailwind
colors: {
  custom: {
    50: '#8c8c55',
    500: '#5b5f0e',
    950: '#000000',
  },
}
SCSS
$custom: #5b5f0e;
$custom-light: #8c8c55;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5f0e",
  "rgb": {
    "r": 91,
    "g": 95,
    "b": 14
  },
  "hsl": {
    "h": 62.963,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.46678,
    "c": 0.09768,
    "h": 112.6
  },
  "luminance": 0.1044
}

Semantic roles & 50–950 ramp

primary
#5B5F0E
secondary
#353099
accent
#37F140
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B5F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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