#5B7C19#5B7C19

#5B7C19 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.2% C 0.128 H 126.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5B7C19
RGBrgb(91, 124, 25)
HSLhsl(80, 66%, 29%)
HSVhsv(80, 80%, 49%)
CMYKcmyk(26.6%, 0%, 79.8%, 51.4%)
CIE-LABlab(47.89, -26.69, 46.39)
CIE-LCHlch(47.89, 53.52, 119.91°)
OKLaboklab(54.18% -0.077 0.1025)
OKLCHoklch(54.18% 0.128 126.9)
XYZxyz(11.6976, 16.7094, 3.5285)
Luminance0.1671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7C19 #3A197C
analogous
#7C6C19 #5B7C19 #2A7C19
triadic
#5B7C19 #195B7C #7C195B
tetradic
#5B7C19 #197C6C #3A197C #7C192A
square
#5B7C19 #197C6C #3A197C #7C192A
split-complementary
#5B7C19 #192A7C #6C197C
monochromatic
#131905 #36490F #5B7C19 #80AF23 #A2D738

Accessibility & contrast

On white

4.84
#5B7C19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5B7C19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7C19
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7C19#FFFFFF#000000##FFFFFF
##5B7C191.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#5F766A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b7c19;
/* rgb */ color: rgb(91, 124, 25);
/* oklch */ color: oklch(54.2% 0.128 126.9);
Tailwind
colors: {
  custom: {
    50: '#8da25f',
    500: '#5b7c19',
    950: '#000000',
  },
}
SCSS
$custom: #5b7c19;
$custom-light: #8da25f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7c19",
  "rgb": {
    "r": 91,
    "g": 124,
    "b": 25
  },
  "hsl": {
    "h": 80,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54176,
    "c": 0.1282,
    "h": 126.9
  },
  "luminance": 0.1671
}

Semantic roles & 50–950 ramp

primary
#5B7C19
secondary
#6640B0
accent
#3EE977
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0F05
muted
#7D7E79

Preview Lab

Preview with #5B7C19

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

Preview Lab → · Contrast checker → · Palette generator →

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