#5B6F13#5B6F13

#5B6F13 is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.8% C 0.115 H 121.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5B6F13
RGBrgb(91, 111, 19)
HSLhsl(73, 71%, 25%)
HSVhsv(73, 83%, 44%)
CMYKcmyk(18%, 0%, 82.9%, 56.5%)
CIE-LABlab(43.71, -20.42, 44.52)
CIE-LCHlch(43.71, 48.98, 114.65°)
OKLaboklab(50.78% -0.0604 0.0975)
OKLCHoklch(50.78% 0.115 121.8)
XYZxyz(10.1165, 13.6400, 2.7158)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6F13 #27136F
analogous
#6F5513 #5B6F13 #2D6F13
triadic
#5B6F13 #135B6F #6F135B
tetradic
#5B6F13 #136F55 #27136F #6F132D
square
#5B6F13 #136F55 #27136F #6F132D
split-complementary
#5B6F13 #132D6F #55136F
monochromatic
#151A04 #303B0A #5B6F13 #86A31C #B1D825

Accessibility & contrast

On white

5.63
#5B6F13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5B6F13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6F13
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6F13#FFFFFF#000000##FFFFFF
##5B6F131.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#74671C
Tritanopia (blue-blind)
#60695E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b6f13;
/* rgb */ color: rgb(91, 111, 19);
/* oklch */ color: oklch(50.8% 0.115 121.8);
Tailwind
colors: {
  custom: {
    50: '#8c985a',
    500: '#5b6f13',
    950: '#000000',
  },
}
SCSS
$custom: #5b6f13;
$custom-light: #8c985a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6f13",
  "rgb": {
    "r": 91,
    "g": 111,
    "b": 19
  },
  "hsl": {
    "h": 73.043,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50782,
    "c": 0.11465,
    "h": 121.8
  },
  "luminance": 0.1364
}

Semantic roles & 50–950 ramp

primary
#5B6F13
secondary
#5038A6
accent
#3AEE61
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B6F13

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

Preview Lab → · Contrast checker → · Palette generator →

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