#5B8319#5B8319

#5B8319 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 56.0% C 0.137 H 128.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5B8319
RGBrgb(91, 131, 25)
HSLhsl(83, 68%, 31%)
HSVhsv(83, 81%, 51%)
CMYKcmyk(30.5%, 0%, 80.9%, 48.6%)
CIE-LABlab(50.13, -30.05, 48.48)
CIE-LCHlch(50.13, 57.04, 121.79°)
OKLaboklab(56% -0.0861 0.1069)
OKLCHoklch(56% 0.137 128.9)
XYZxyz(12.6061, 18.5266, 3.8313)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8319 #411983
analogous
#837619 #5B8319 #268319
triadic
#5B8319 #195B83 #83195B
tetradic
#5B8319 #198376 #411983 #831926
square
#5B8319 #198376 #411983 #831926
split-complementary
#5B8319 #192683 #761983
monochromatic
#141C05 #37500F #5B8319 #7FB623 #9EDA3D

Accessibility & contrast

On white

4.46
#5B8319 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5B8319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8319
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8319#FFFFFF#000000##000000
##5B83191.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#5E7D6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5b8319;
/* rgb */ color: rgb(91, 131, 25);
/* oklch */ color: oklch(56.0% 0.137 128.9);
Tailwind
colors: {
  custom: {
    50: '#8da760',
    500: '#5b8319',
    950: '#000000',
  },
}
SCSS
$custom: #5b8319;
$custom-light: #8da760;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8319",
  "rgb": {
    "r": 91,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 82.642,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55995,
    "c": 0.13726,
    "h": 128.9
  },
  "luminance": 0.18527
}

Semantic roles & 50–950 ramp

primary
#5B8319
secondary
#6D41B7
accent
#3DEB7F
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0D0F05
muted
#7D7F79

Preview Lab

Preview with #5B8319

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

Preview Lab → · Contrast checker → · Palette generator →

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