#5B7019#5B7019

#5B7019 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 51.1% C 0.113 H 122.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5B7019
RGBrgb(91, 112, 25)
HSLhsl(74, 64%, 27%)
HSVhsv(74, 78%, 44%)
CMYKcmyk(18.7%, 0%, 77.7%, 56.1%)
CIE-LABlab(44.06, -20.64, 42.77)
CIE-LCHlch(44.06, 47.49, 115.76°)
OKLaboklab(51.08% -0.0605 0.0949)
OKLCHoklch(51.08% 0.113 122.5)
XYZxyz(10.2842, 13.8826, 3.0573)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7019 #2E1970
analogous
#705A19 #5B7019 #2F7019
triadic
#5B7019 #195B70 #70195B
tetradic
#5B7019 #19705A #2E1970 #70192F
square
#5B7019 #19705A #2E1970 #70192F
split-complementary
#5B7019 #192F70 #5A1970
monochromatic
#141906 #323E0E #5B7019 #84A224 #ABD132

Accessibility & contrast

On white

5.56
#5B7019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5B7019 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7019
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7019#FFFFFF#000000##FFFFFF
##5B70191.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776907
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#606A5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5b7019;
/* rgb */ color: rgb(91, 112, 25);
/* oklch */ color: oklch(51.1% 0.113 122.5);
Tailwind
colors: {
  custom: {
    50: '#8c995d',
    500: '#5b7019',
    950: '#000000',
  },
}
SCSS
$custom: #5b7019;
$custom-light: #8c995d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7019",
  "rgb": {
    "r": 91,
    "g": 112,
    "b": 25
  },
  "hsl": {
    "h": 74.483,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51077,
    "c": 0.11251,
    "h": 122.5
  },
  "luminance": 0.13883
}

Semantic roles & 50–950 ramp

primary
#5B7019
secondary
#5840A5
accent
#41E769
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B7019

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

Preview Lab → · Contrast checker → · Palette generator →

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