#5B892E#5B892E

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

Color values

HEX#5B892E
RGBrgb(91, 137, 46)
HSLhsl(90, 50%, 36%)
HSVhsv(90, 66%, 54%)
CMYKcmyk(33.6%, 0%, 66.4%, 46.3%)
CIE-LABlab(52.19, -31.42, 42.40)
CIE-LCHlch(52.19, 52.77, 126.54°)
OKLaboklab(57.72% -0.0881 0.0974)
OKLCHoklch(57.72% 0.131 132.2)
XYZxyz(13.7530, 20.3122, 5.7803)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B892E #5C2E89
analogous
#88892E #5B892E #2E892E
triadic
#5B892E #2E5B89 #892E5B
tetradic
#5B892E #2E8889 #5C2E89 #892E2E
square
#5B892E #2E8889 #5C2E89 #892E2E
split-complementary
#5B892E #2E2E89 #892E88
monochromatic
#1E2D0F #3D5B1F #5B892E #79B73D #98CC66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B892E#FFFFFF#000000##000000
##5B892E1.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)
#8F7F22
Deuteranopia (green-blind)
#887B35
Tritanopia (blue-blind)
#5C8376
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b892e;
/* rgb */ color: rgb(91, 137, 46);
/* oklch */ color: oklch(57.7% 0.131 132.2);
Tailwind
colors: {
  custom: {
    50: '#8dab6b',
    500: '#5b892e',
    950: '#000000',
  },
}
SCSS
$custom: #5b892e;
$custom-light: #8dab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b892e",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 46
  },
  "hsl": {
    "h": 90.33,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57718,
    "c": 0.13132,
    "h": 132.2
  },
  "luminance": 0.20313
}

Semantic roles & 50–950 ramp

primary
#5B892E
secondary
#8A60B2
accent
#4FD995
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #5B892E

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

Preview Lab → · Contrast checker → · Palette generator →

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