#5B892D#5B892D

#5B892D is a mid, vivid yellow-green. Relative luminance 0.203; OKLCH L 57.7% C 0.132 H 132.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5B892D
RGBrgb(91, 137, 45)
HSLhsl(90, 51%, 36%)
HSVhsv(90, 67%, 54%)
CMYKcmyk(33.6%, 0%, 67.2%, 46.3%)
CIE-LABlab(52.18, -31.51, 42.83)
CIE-LCHlch(52.18, 53.17, 126.34°)
OKLaboklab(57.71% -0.0885 0.0981)
OKLCHoklch(57.71% 0.132 132)
XYZxyz(13.7335, 20.3044, 5.6777)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B892D #5B2D89
analogous
#89892D #5B892D #2D892D
triadic
#5B892D #2D5B89 #892D5B
tetradic
#5B892D #2D8989 #5B2D89 #892D2D
square
#5B892D #2D8989 #5B2D89 #892D2D
split-complementary
#5B892D #2D2D89 #892D89
monochromatic
#1E2D0F #3C5B1E #5B892D #7AB73C #98CC64

Accessibility & contrast

On white

4.15
#5B892D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5B892D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B892D
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B892D#FFFFFF#000000##000000
##5B892D1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F21
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#5C8376
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b892d;
/* rgb */ color: rgb(91, 137, 45);
/* oklch */ color: oklch(57.7% 0.132 132.0);
Tailwind
colors: {
  custom: {
    50: '#8dab6b',
    500: '#5b892d',
    950: '#000000',
  },
}
SCSS
$custom: #5b892d;
$custom-light: #8dab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b892d",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 45
  },
  "hsl": {
    "h": 90,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57708,
    "c": 0.13211,
    "h": 132
  },
  "luminance": 0.20305
}

Semantic roles & 50–950 ramp

primary
#5B892D
secondary
#895FB3
accent
#4EDA94
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5B892D

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

Preview Lab → · Contrast checker → · Palette generator →

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