#5B7719#5B7719

#5B7719 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.9% C 0.122 H 125.3°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5B7719
RGBrgb(91, 119, 25)
HSLhsl(78, 65%, 28%)
HSVhsv(78, 79%, 47%)
CMYKcmyk(23.5%, 0%, 79%, 53.3%)
CIE-LABlab(46.30, -24.21, 44.89)
CIE-LCHlch(46.30, 51.01, 118.34°)
OKLaboklab(52.88% -0.0703 0.0993)
OKLCHoklch(52.88% 0.122 125.3)
XYZxyz(11.0868, 15.4878, 3.3249)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7719 #351977
analogous
#776419 #5B7719 #2C7719
triadic
#5B7719 #195B77 #77195B
tetradic
#5B7719 #197764 #351977 #77192C
square
#5B7719 #197764 #351977 #77192C
split-complementary
#5B7719 #192C77 #641977
monochromatic
#131905 #34440E #5B7719 #82AA24 #A5D536

Accessibility & contrast

On white

5.12
#5B7719 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5B7719 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7719
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7719#FFFFFF#000000##FFFFFF
##5B77191.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F03
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#5F7165
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5b7719;
/* rgb */ color: rgb(91, 119, 25);
/* oklch */ color: oklch(52.9% 0.122 125.3);
Tailwind
colors: {
  custom: {
    50: '#8d9e5e',
    500: '#5b7719',
    950: '#000000',
  },
}
SCSS
$custom: #5b7719;
$custom-light: #8d9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7719",
  "rgb": {
    "r": 91,
    "g": 119,
    "b": 25
  },
  "hsl": {
    "h": 77.872,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52882,
    "c": 0.12167,
    "h": 125.3
  },
  "luminance": 0.15488
}

Semantic roles & 50–950 ramp

primary
#5B7719
secondary
#6040AC
accent
#40E872
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5B7719

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

Preview Lab → · Contrast checker → · Palette generator →

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