#5B6115#5B6115

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

Color values

HEX#5B6115
RGBrgb(91, 97, 21)
HSLhsl(65, 64%, 23%)
HSVhsv(65, 78%, 38%)
CMYKcmyk(6.2%, 0%, 78.4%, 62%)
CIE-LABlab(39.29, -12.77, 39.72)
CIE-LCHlch(39.29, 41.72, 107.82°)
OKLaboklab(47.23% -0.0391 0.0877)
OKLCHoklch(47.23% 0.096 114)
XYZxyz(8.7247, 10.8279, 2.3397)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6115 #1B1561
analogous
#614115 #5B6115 #356115
triadic
#5B6115 #155B61 #61155B
tetradic
#5B6115 #156141 #1B1561 #611535
square
#5B6115 #156141 #1B1561 #611535
split-complementary
#5B6115 #153561 #411561
monochromatic
#181905 #2C2F0A #5B6115 #8A9320 #B9C62B

Accessibility & contrast

On white

6.63
#5B6115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5B6115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6115
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6115#FFFFFF#000000##FFFFFF
##5B61151.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b6115;
/* rgb */ color: rgb(91, 97, 21);
/* oklch */ color: oklch(47.2% 0.096 114.0);
Tailwind
colors: {
  custom: {
    50: '#8c8d59',
    500: '#5b6115',
    950: '#000000',
  },
}
SCSS
$custom: #5b6115;
$custom-light: #8c8d59;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6115",
  "rgb": {
    "r": 91,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 64.737,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47225,
    "c": 0.09602,
    "h": 114
  },
  "luminance": 0.10828
}

Semantic roles & 50–950 ramp

primary
#5B6115
secondary
#413A98
accent
#40E74E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5B6115

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

Preview Lab → · Contrast checker → · Palette generator →

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