#5B7919#5B7919

#5B7919 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.4% C 0.124 H 126.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5B7919
RGBrgb(91, 121, 25)
HSLhsl(79, 66%, 29%)
HSVhsv(79, 79%, 47%)
CMYKcmyk(24.8%, 0%, 79.3%, 52.5%)
CIE-LABlab(46.93, -25.21, 45.50)
CIE-LCHlch(46.93, 52.01, 118.99°)
OKLaboklab(53.4% -0.073 0.1006)
OKLCHoklch(53.4% 0.124 126)
XYZxyz(11.3273, 15.9689, 3.4050)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7919 #371979
analogous
#796719 #5B7919 #2B7919
triadic
#5B7919 #195B79 #79195B
tetradic
#5B7919 #197967 #371979 #79192B
square
#5B7919 #197967 #371979 #79192B
split-complementary
#5B7919 #192B79 #671979
monochromatic
#131905 #35460F #5B7919 #81AC23 #A4D637

Accessibility & contrast

On white

5.01
#5B7919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5B7919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7919
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7919#FFFFFF#000000##FFFFFF
##5B79191.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807002
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#5F7367
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b7919;
/* rgb */ color: rgb(91, 121, 25);
/* oklch */ color: oklch(53.4% 0.124 126.0);
Tailwind
colors: {
  custom: {
    50: '#8d9f5e',
    500: '#5b7919',
    950: '#000000',
  },
}
SCSS
$custom: #5b7919;
$custom-light: #8d9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7919",
  "rgb": {
    "r": 91,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 78.75,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53399,
    "c": 0.12428,
    "h": 126
  },
  "luminance": 0.15969
}

Semantic roles & 50–950 ramp

primary
#5B7919
secondary
#6240AE
accent
#3FE974
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5B7919

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

Preview Lab → · Contrast checker → · Palette generator →

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