#5B8113#5B8113

#5B8113 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.4% C 0.138 H 128.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5B8113
RGBrgb(91, 129, 19)
HSLhsl(81, 74%, 29%)
HSVhsv(81, 85%, 51%)
CMYKcmyk(29.5%, 0%, 85.3%, 49.4%)
CIE-LABlab(49.46, -29.38, 49.65)
CIE-LCHlch(49.46, 57.69, 120.61°)
OKLaboklab(55.44% -0.0847 0.1084)
OKLCHoklch(55.44% 0.138 128)
XYZxyz(12.2822, 17.9714, 3.4377)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8113 #391381
analogous
#817013 #5B8113 #248113
triadic
#5B8113 #135B81 #81135B
tetradic
#5B8113 #138170 #391381 #811324
square
#5B8113 #138170 #391381 #811324
split-complementary
#5B8113 #132481 #701381
monochromatic
#131B04 #354C0B #5B8113 #81B61B #A3E02E

Accessibility & contrast

On white

4.57
#5B8113 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5B8113 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8113
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8113#FFFFFF#000000##000000
##5B81131.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#5F7B6D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5b8113;
/* rgb */ color: rgb(91, 129, 19);
/* oklch */ color: oklch(55.4% 0.138 128.0);
Tailwind
colors: {
  custom: {
    50: '#8da55d',
    500: '#5b8113',
    950: '#000000',
  },
}
SCSS
$custom: #5b8113;
$custom-light: #8da55d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8113",
  "rgb": {
    "r": 91,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 80.727,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55443,
    "c": 0.13755,
    "h": 128
  },
  "luminance": 0.17972
}

Semantic roles & 50–950 ramp

primary
#5B8113
secondary
#653AB6
accent
#37F177
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5B8113

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

Preview Lab → · Contrast checker → · Palette generator →

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