#5B7111#5B7111

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

Color values

HEX#5B7111
RGBrgb(91, 113, 17)
HSLhsl(74, 74%, 25%)
HSVhsv(74, 85%, 44%)
CMYKcmyk(19.5%, 0%, 85%, 55.7%)
CIE-LABlab(44.34, -21.55, 45.69)
CIE-LCHlch(44.34, 50.52, 115.25°)
OKLaboklab(51.29% -0.0636 0.0996)
OKLCHoklch(51.29% 0.118 122.6)
XYZxyz(10.3208, 14.0748, 2.7032)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7111 #271171
analogous
#715711 #5B7111 #2B7111
triadic
#5B7111 #115B71 #71115B
tetradic
#5B7111 #117157 #271171 #71112B
square
#5B7111 #117157 #271171 #71112B
split-complementary
#5B7111 #112B71 #571171
monochromatic
#151B04 #303C09 #5B7111 #86A619 #B1DB21

Accessibility & contrast

On white

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

On black

3.81
#5B7111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5B7111#FFFFFF#000000##FFFFFF
##5B71111.005.503.815.50
#FFFFFF5.501.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b7111;
/* rgb */ color: rgb(91, 113, 17);
/* oklch */ color: oklch(51.3% 0.118 122.6);
Tailwind
colors: {
  custom: {
    50: '#8d995a',
    500: '#5b7111',
    950: '#000000',
  },
}
SCSS
$custom: #5b7111;
$custom-light: #8d995a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7111",
  "rgb": {
    "r": 91,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 73.75,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.51286,
    "c": 0.11817,
    "h": 122.6
  },
  "luminance": 0.14075
}

Semantic roles & 50–950 ramp

primary
#5B7111
secondary
#5036A8
accent
#37F162
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #5B7111

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

Preview Lab → · Contrast checker → · Palette generator →

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