#5B891C#5B891C

#5B891C is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.6% C 0.143 H 130.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5B891C
RGBrgb(91, 137, 28)
HSLhsl(85, 66%, 32%)
HSVhsv(85, 80%, 54%)
CMYKcmyk(33.6%, 0%, 79.6%, 46.3%)
CIE-LABlab(52.06, -32.69, 49.30)
CIE-LCHlch(52.06, 59.16, 123.54°)
OKLaboklab(57.57% -0.093 0.1091)
OKLCHoklch(57.57% 0.143 130.5)
XYZxyz(13.4696, 20.1988, 4.2875)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B891C #4A1C89
analogous
#89811C #5B891C #24891C
triadic
#5B891C #1C5B89 #891C5B
tetradic
#5B891C #1C8981 #4A1C89 #891C24
square
#5B891C #1C8981 #4A1C89 #891C24
split-complementary
#5B891C #1C2489 #811C89
monochromatic
#172307 #395612 #5B891C #7DBC26 #9BD946

Accessibility & contrast

On white

4.17
#5B891C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5B891C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B891C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B891C#FFFFFF#000000##000000
##5B891C1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#5D8375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b891c;
/* rgb */ color: rgb(91, 137, 28);
/* oklch */ color: oklch(57.6% 0.143 130.5);
Tailwind
colors: {
  custom: {
    50: '#8eab62',
    500: '#5b891c',
    950: '#000000',
  },
}
SCSS
$custom: #5b891c;
$custom-light: #8eab62;
$custom-dark: #000000;
JSON
{
  "hex": "#5b891c",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 85.321,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57574,
    "c": 0.1434,
    "h": 130.5
  },
  "luminance": 0.20199
}

Semantic roles & 50–950 ramp

primary
#5B891C
secondary
#7746BB
accent
#3FE987
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5B891C

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

Preview Lab → · Contrast checker → · Palette generator →

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