#5B891E#5B891E

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

Color values

HEX#5B891E
RGBrgb(91, 137, 30)
HSLhsl(86, 64%, 33%)
HSVhsv(86, 78%, 54%)
CMYKcmyk(33.6%, 0%, 78.1%, 46.3%)
CIE-LABlab(52.07, -32.58, 48.64)
CIE-LCHlch(52.07, 58.54, 123.81°)
OKLaboklab(57.59% -0.0926 0.1081)
OKLCHoklch(57.59% 0.142 130.6)
XYZxyz(13.4943, 20.2087, 4.4177)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B891E #4C1E89
analogous
#89811E #5B891E #26891E
triadic
#5B891E #1E5B89 #891E5B
tetradic
#5B891E #1E8981 #4C1E89 #891E26
square
#5B891E #1E8981 #4C1E89 #891E26
split-complementary
#5B891E #1E2689 #811E89
monochromatic
#182508 #3A5713 #5B891E #7CBB29 #9BD74A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B891E#FFFFFF#000000##000000
##5B891E1.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)
#8F7E04
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#5D8375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b891e;
/* rgb */ color: rgb(91, 137, 30);
/* oklch */ color: oklch(57.6% 0.142 130.6);
Tailwind
colors: {
  custom: {
    50: '#8eab63',
    500: '#5b891e',
    950: '#000000',
  },
}
SCSS
$custom: #5b891e;
$custom-light: #8eab63;
$custom-dark: #000000;
JSON
{
  "hex": "#5b891e",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 85.794,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57587,
    "c": 0.1423,
    "h": 130.6
  },
  "luminance": 0.20209
}

Semantic roles & 50–950 ramp

primary
#5B891E
secondary
#7A49BA
accent
#41E788
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5B891E

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

Preview Lab → · Contrast checker → · Palette generator →

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