#5B7619#5B7619

#5B7619 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.6% C 0.120 H 124.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5B7619
RGBrgb(91, 118, 25)
HSLhsl(77, 65%, 28%)
HSVhsv(77, 79%, 46%)
CMYKcmyk(22.9%, 0%, 78.8%, 53.7%)
CIE-LABlab(45.98, -23.71, 44.59)
CIE-LCHlch(45.98, 50.50, 118.00°)
OKLaboklab(52.62% -0.0689 0.0987)
OKLCHoklch(52.62% 0.12 124.9)
XYZxyz(10.9684, 15.2511, 3.2854)
Luminance0.1525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7619 #341976
analogous
#766219 #5B7619 #2D7619
triadic
#5B7619 #195B76 #76195B
tetradic
#5B7619 #197662 #341976 #76192D
square
#5B7619 #197662 #341976 #76192D
split-complementary
#5B7619 #192D76 #621976
monochromatic
#131905 #34430E #5B7619 #82A824 #A6D435

Accessibility & contrast

On white

5.18
#5B7619 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5B7619 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7619
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7619#FFFFFF#000000##FFFFFF
##5B76191.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E04
Deuteranopia (green-blind)
#796D22
Tritanopia (blue-blind)
#607064
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b7619;
/* rgb */ color: rgb(91, 118, 25);
/* oklch */ color: oklch(52.6% 0.120 124.9);
Tailwind
colors: {
  custom: {
    50: '#8d9d5e',
    500: '#5b7619',
    950: '#000000',
  },
}
SCSS
$custom: #5b7619;
$custom-light: #8d9d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7619",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 25
  },
  "hsl": {
    "h": 77.419,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52623,
    "c": 0.12036,
    "h": 124.9
  },
  "luminance": 0.15251
}

Semantic roles & 50–950 ramp

primary
#5B7619
secondary
#5F40AB
accent
#40E871
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5B7619

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

Preview Lab → · Contrast checker → · Palette generator →

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