#5B892B#5B892B

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

Color values

HEX#5B892B
RGBrgb(91, 137, 43)
HSLhsl(89, 52%, 35%)
HSVhsv(89, 69%, 54%)
CMYKcmyk(33.6%, 0%, 68.6%, 46.3%)
CIE-LABlab(52.16, -31.67, 43.68)
CIE-LCHlch(52.16, 53.96, 125.95°)
OKLaboklab(57.69% -0.0891 0.0996)
OKLCHoklch(57.69% 0.134 131.8)
XYZxyz(13.6959, 20.2894, 5.4797)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B892B #592B89
analogous
#89882B #5B892B #2C892B
triadic
#5B892B #2B5B89 #892B5B
tetradic
#5B892B #2B8988 #592B89 #892B2C
square
#5B892B #2B8988 #592B89 #892B2C
split-complementary
#5B892B #2B2C89 #882B89
monochromatic
#1D2C0E #3C5A1C #5B892B #7AB83A #98CD61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B892B#FFFFFF#000000##000000
##5B892B1.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)
#8F7F1E
Deuteranopia (green-blind)
#897B33
Tritanopia (blue-blind)
#5C8376
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b892b;
/* rgb */ color: rgb(91, 137, 43);
/* oklch */ color: oklch(57.7% 0.134 131.8);
Tailwind
colors: {
  custom: {
    50: '#8dab6a',
    500: '#5b892b',
    950: '#000000',
  },
}
SCSS
$custom: #5b892b;
$custom-light: #8dab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b892b",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 43
  },
  "hsl": {
    "h": 89.362,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57689,
    "c": 0.13366,
    "h": 131.8
  },
  "luminance": 0.2029
}

Semantic roles & 50–950 ramp

primary
#5B892B
secondary
#875CB3
accent
#4CDC92
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5B892B

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

Preview Lab → · Contrast checker → · Palette generator →

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