#5B7119#5B7119

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

Color values

HEX#5B7119
RGBrgb(91, 113, 25)
HSLhsl(75, 64%, 27%)
HSVhsv(75, 78%, 44%)
CMYKcmyk(19.5%, 0%, 77.9%, 55.7%)
CIE-LABlab(44.38, -21.16, 43.07)
CIE-LCHlch(44.38, 47.99, 116.16°)
OKLaboklab(51.33% -0.0619 0.0955)
OKLCHoklch(51.33% 0.114 123)
XYZxyz(10.3951, 14.1045, 3.0943)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7119 #2F1971
analogous
#715B19 #5B7119 #2F7119
triadic
#5B7119 #195B71 #71195B
tetradic
#5B7119 #19715B #2F1971 #71192F
square
#5B7119 #19715B #2F1971 #71192F
split-complementary
#5B7119 #192F71 #5B1971
monochromatic
#141906 #333F0E #5B7119 #83A324 #AAD233

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B7119#FFFFFF#000000##FFFFFF
##5B71191.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)
#786A06
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#606B60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5b7119;
/* rgb */ color: rgb(91, 113, 25);
/* oklch */ color: oklch(51.3% 0.114 123.0);
Tailwind
colors: {
  custom: {
    50: '#8c995d',
    500: '#5b7119',
    950: '#000000',
  },
}
SCSS
$custom: #5b7119;
$custom-light: #8c995d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7119",
  "rgb": {
    "r": 91,
    "g": 113,
    "b": 25
  },
  "hsl": {
    "h": 75,
    "s": 63.768,
    "l": 27.059
  },
  "oklch": {
    "l": 0.51334,
    "c": 0.11381,
    "h": 123
  },
  "luminance": 0.14105
}

Semantic roles & 50–950 ramp

primary
#5B7119
secondary
#5940A6
accent
#41E76A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #5B7119

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

Preview Lab → · Contrast checker → · Palette generator →

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