#5B600F#5B600F

#5B600F is a mid, moderate yellow. Relative luminance 0.106; OKLCH L 46.9% C 0.098 H 113.3°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5B600F
RGBrgb(91, 96, 15)
HSLhsl(64, 73%, 22%)
HSVhsv(64, 84%, 38%)
CMYKcmyk(5.2%, 0%, 84.4%, 62.4%)
CIE-LABlab(38.94, -12.49, 41.52)
CIE-LCHlch(38.94, 43.35, 106.74°)
OKLaboklab(46.94% -0.0389 0.0903)
OKLCHoklch(46.94% 0.098 113.3)
XYZxyz(8.5838, 10.6246, 2.0504)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B600F #140F60
analogous
#603D0F #5B600F #33600F
triadic
#5B600F #0F5B60 #600F5B
tetradic
#5B600F #0F603D #140F60 #600F33
square
#5B600F #0F603D #140F60 #600F33
split-complementary
#5B600F #0F3360 #3D0F60
monochromatic
#191A04 #292B07 #5B600F #8D9517 #BFCA20

Accessibility & contrast

On white

6.72
#5B600F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5B600F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B600F
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B600F#FFFFFF#000000##FFFFFF
##5B600F1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#685C17
Tritanopia (blue-blind)
#625A51
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b600f;
/* rgb */ color: rgb(91, 96, 15);
/* oklch */ color: oklch(46.9% 0.098 113.3);
Tailwind
colors: {
  custom: {
    50: '#8c8d56',
    500: '#5b600f',
    950: '#000000',
  },
}
SCSS
$custom: #5b600f;
$custom-light: #8c8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#5b600f",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 15
  },
  "hsl": {
    "h": 63.704,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.46935,
    "c": 0.09833,
    "h": 113.3
  },
  "luminance": 0.10624
}

Semantic roles & 50–950 ramp

primary
#5B600F
secondary
#383299
accent
#38F043
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B600F

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

Preview Lab → · Contrast checker → · Palette generator →

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