#5B8114#5B8114

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

Color values

HEX#5B8114
RGBrgb(91, 129, 20)
HSLhsl(81, 73%, 29%)
HSVhsv(81, 84%, 51%)
CMYKcmyk(29.5%, 0%, 84.5%, 49.4%)
CIE-LABlab(49.47, -29.34, 49.38)
CIE-LCHlch(49.47, 57.44, 120.71°)
OKLaboklab(55.45% -0.0845 0.108)
OKLCHoklch(55.45% 0.137 128.1)
XYZxyz(12.2909, 17.9749, 3.4836)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8114 #3A1481
analogous
#817114 #5B8114 #258114
triadic
#5B8114 #145B81 #81145B
tetradic
#5B8114 #148171 #3A1481 #811425
square
#5B8114 #148171 #3A1481 #811425
split-complementary
#5B8114 #142581 #711481
monochromatic
#131A04 #364C0C #5B8114 #80B61C #A2DF30

Accessibility & contrast

On white

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

On black

4.60
#5B8114 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8114
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8114#FFFFFF#000000##000000
##5B81141.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b8114;
/* rgb */ color: rgb(91, 129, 20);
/* oklch */ color: oklch(55.4% 0.137 128.1);
Tailwind
colors: {
  custom: {
    50: '#8da55d',
    500: '#5b8114',
    950: '#000000',
  },
}
SCSS
$custom: #5b8114;
$custom-light: #8da55d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8114",
  "rgb": {
    "r": 91,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 80.917,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55448,
    "c": 0.13711,
    "h": 128.1
  },
  "luminance": 0.17975
}

Semantic roles & 50–950 ramp

primary
#5B8114
secondary
#663BB6
accent
#38F078
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5B8114

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

Preview Lab → · Contrast checker → · Palette generator →

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