#5B6114#5B6114

#5B6114 is a mid, moderate yellow. Relative luminance 0.108; OKLCH L 47.2% C 0.097 H 114.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5B6114
RGBrgb(91, 97, 20)
HSLhsl(65, 66%, 23%)
HSVhsv(65, 79%, 38%)
CMYKcmyk(6.2%, 0%, 79.4%, 62%)
CIE-LABlab(39.28, -12.82, 40.09)
CIE-LCHlch(39.28, 42.09, 107.73°)
OKLaboklab(47.22% -0.0394 0.0883)
OKLCHoklch(47.22% 0.097 114)
XYZxyz(8.7156, 10.8242, 2.2918)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6114 #1A1461
analogous
#614014 #5B6114 #356114
triadic
#5B6114 #145B61 #61145B
tetradic
#5B6114 #146140 #1A1461 #611435
square
#5B6114 #146140 #1A1461 #611435
split-complementary
#5B6114 #143561 #401461
monochromatic
#181905 #2B2E0A #5B6114 #8B941E #BAC629

Accessibility & contrast

On white

6.64
#5B6114 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5B6114 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6114
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6114#FFFFFF#000000##FFFFFF
##5B61141.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C04
Deuteranopia (green-blind)
#685D1B
Tritanopia (blue-blind)
#625B52
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5b6114;
/* rgb */ color: rgb(91, 97, 20);
/* oklch */ color: oklch(47.2% 0.097 114.0);
Tailwind
colors: {
  custom: {
    50: '#8c8d58',
    500: '#5b6114',
    950: '#000000',
  },
}
SCSS
$custom: #5b6114;
$custom-light: #8c8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6114",
  "rgb": {
    "r": 91,
    "g": 97,
    "b": 20
  },
  "hsl": {
    "h": 64.675,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47218,
    "c": 0.09665,
    "h": 114
  },
  "luminance": 0.10824
}

Semantic roles & 50–950 ramp

primary
#5B6114
secondary
#403898
accent
#3FE94C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6114

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

Preview Lab → · Contrast checker → · Palette generator →

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