#5B6210#5B6210

#5B6210 is a mid, moderate yellow. Relative luminance 0.110; OKLCH L 47.4% C 0.100 H 114.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5B6210
RGBrgb(91, 98, 16)
HSLhsl(65, 72%, 22%)
HSVhsv(65, 84%, 38%)
CMYKcmyk(7.1%, 0%, 83.7%, 61.6%)
CIE-LABlab(39.58, -13.56, 41.76)
CIE-LCHlch(39.58, 43.91, 107.99°)
OKLaboklab(47.45% -0.0418 0.091)
OKLCHoklch(47.45% 0.1 114.7)
XYZxyz(8.7759, 10.9971, 2.1505)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6210 #171062
analogous
#624010 #5B6210 #326210
triadic
#5B6210 #105B62 #62105B
tetradic
#5B6210 #106240 #171062 #621032
square
#5B6210 #106240 #171062 #621032
split-complementary
#5B6210 #103262 #401062
monochromatic
#181A04 #2A2D07 #5B6210 #8C9719 #BDCB21

Accessibility & contrast

On white

6.56
#5B6210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5B6210 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6210
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6210#FFFFFF#000000##FFFFFF
##5B62101.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#695E18
Tritanopia (blue-blind)
#625C53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5b6210;
/* rgb */ color: rgb(91, 98, 16);
/* oklch */ color: oklch(47.4% 0.100 114.7);
Tailwind
colors: {
  custom: {
    50: '#8c8e57',
    500: '#5b6210',
    950: '#000000',
  },
}
SCSS
$custom: #5b6210;
$custom-light: #8c8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6210",
  "rgb": {
    "r": 91,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 65.122,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.47446,
    "c": 0.10016,
    "h": 114.7
  },
  "luminance": 0.10997
}

Semantic roles & 50–950 ramp

primary
#5B6210
secondary
#3C339B
accent
#39EF49
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B6210

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

Preview Lab → · Contrast checker → · Palette generator →

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