#5B6213#5B6213

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

Color values

HEX#5B6213
RGBrgb(91, 98, 19)
HSLhsl(65, 68%, 23%)
HSVhsv(65, 81%, 38%)
CMYKcmyk(7.1%, 0%, 80.6%, 61.6%)
CIE-LABlab(39.59, -13.42, 40.75)
CIE-LCHlch(39.59, 42.90, 108.24°)
OKLaboklab(47.46% -0.0411 0.0895)
OKLCHoklch(47.46% 0.098 114.7)
XYZxyz(8.7999, 11.0067, 2.2769)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6213 #1A1362
analogous
#624113 #5B6213 #346213
triadic
#5B6213 #135B62 #62135B
tetradic
#5B6213 #136241 #1A1362 #621334
square
#5B6213 #136241 #1A1362 #621334
split-complementary
#5B6213 #133462 #411362
monochromatic
#181A05 #2B2F09 #5B6213 #8B951D #BAC927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B6213#FFFFFF#000000##FFFFFF
##5B62131.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)
#6A5D02
Deuteranopia (green-blind)
#695E1A
Tritanopia (blue-blind)
#615C53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5b6213;
/* rgb */ color: rgb(91, 98, 19);
/* oklch */ color: oklch(47.5% 0.098 114.7);
Tailwind
colors: {
  custom: {
    50: '#8c8e58',
    500: '#5b6213',
    950: '#000000',
  },
}
SCSS
$custom: #5b6213;
$custom-light: #8c8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6213",
  "rgb": {
    "r": 91,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 65.316,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47464,
    "c": 0.09847,
    "h": 114.7
  },
  "luminance": 0.11007
}

Semantic roles & 50–950 ramp

primary
#5B6213
secondary
#40379A
accent
#3DEA4D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6213

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

Preview Lab → · Contrast checker → · Palette generator →

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