#5B7113#5B7113

#5B7113 is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.3% C 0.117 H 122.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5B7113
RGBrgb(91, 113, 19)
HSLhsl(74, 71%, 26%)
HSVhsv(74, 83%, 44%)
CMYKcmyk(19.5%, 0%, 83.2%, 55.7%)
CIE-LABlab(44.35, -21.46, 45.09)
CIE-LCHlch(44.35, 49.94, 115.45°)
OKLaboklab(51.3% -0.0632 0.0987)
OKLCHoklch(51.3% 0.117 122.7)
XYZxyz(10.3372, 14.0814, 2.7894)
Luminance0.1408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7113 #291371
analogous
#715813 #5B7113 #2C7113
triadic
#5B7113 #135B71 #71135B
tetradic
#5B7113 #137158 #291371 #71132C
square
#5B7113 #137158 #291371 #71132C
split-complementary
#5B7113 #132C71 #581371
monochromatic
#151A04 #313D0A #5B7113 #85A51C #AFDA25

Accessibility & contrast

On white

5.50
#5B7113 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5B7113 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7113
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7113#FFFFFF#000000##FFFFFF
##5B71131.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#75691D
Tritanopia (blue-blind)
#606B60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b7113;
/* rgb */ color: rgb(91, 113, 19);
/* oklch */ color: oklch(51.3% 0.117 122.7);
Tailwind
colors: {
  custom: {
    50: '#8d995a',
    500: '#5b7113',
    950: '#000000',
  },
}
SCSS
$custom: #5b7113;
$custom-light: #8d995a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7113",
  "rgb": {
    "r": 91,
    "g": 113,
    "b": 19
  },
  "hsl": {
    "h": 74.043,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51296,
    "c": 0.1172,
    "h": 122.7
  },
  "luminance": 0.14081
}

Semantic roles & 50–950 ramp

primary
#5B7113
secondary
#5238A8
accent
#3AEE64
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #5B7113

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

Preview Lab → · Contrast checker → · Palette generator →

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