#5B7419#5B7419

#5B7419 is a mid, moderate yellow-green. Relative luminance 0.148; OKLCH L 52.1% C 0.118 H 124.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5B7419
RGBrgb(91, 116, 25)
HSLhsl(76, 65%, 28%)
HSVhsv(76, 78%, 45%)
CMYKcmyk(21.6%, 0%, 78.4%, 54.5%)
CIE-LABlab(45.34, -22.70, 43.99)
CIE-LCHlch(45.34, 49.50, 117.29°)
OKLaboklab(52.11% -0.0661 0.0974)
OKLCHoklch(52.11% 0.118 124.2)
XYZxyz(10.7354, 14.7850, 3.2077)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7419 #321974
analogous
#746019 #5B7419 #2D7419
triadic
#5B7419 #195B74 #74195B
tetradic
#5B7419 #197460 #321974 #74192D
square
#5B7419 #197460 #321974 #74192D
split-complementary
#5B7419 #192D74 #601974
monochromatic
#141905 #34420E #5B7419 #82A624 #A8D334

Accessibility & contrast

On white

5.31
#5B7419 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5B7419 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7419
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7419#FFFFFF#000000##FFFFFF
##5B74191.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C05
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#606E63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5b7419;
/* rgb */ color: rgb(91, 116, 25);
/* oklch */ color: oklch(52.1% 0.118 124.2);
Tailwind
colors: {
  custom: {
    50: '#8c9c5d',
    500: '#5b7419',
    950: '#000000',
  },
}
SCSS
$custom: #5b7419;
$custom-light: #8c9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7419",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 25
  },
  "hsl": {
    "h": 76.484,
    "s": 64.539,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52107,
    "c": 0.11774,
    "h": 124.2
  },
  "luminance": 0.14785
}

Semantic roles & 50–950 ramp

primary
#5B7419
secondary
#5D40A9
accent
#40E86E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5B7419

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

Preview Lab → · Contrast checker → · Palette generator →

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