#5B862A#5B862A

#5B862A is a mid, vivid yellow-green. Relative luminance 0.194; OKLCH L 56.9% C 0.130 H 131.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5B862A
RGBrgb(91, 134, 42)
HSLhsl(88, 52%, 35%)
HSVhsv(88, 69%, 53%)
CMYKcmyk(32.1%, 0%, 68.7%, 47.5%)
CIE-LABlab(51.20, -30.35, 43.09)
CIE-LCHlch(51.20, 52.71, 125.15°)
OKLaboklab(56.9% -0.0855 0.0983)
OKLCHoklch(56.9% 0.13 131)
XYZxyz(13.2573, 19.4411, 5.2440)
Luminance0.1944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B862A #552A86
analogous
#86832A #5B862A #2D862A
triadic
#5B862A #2A5B86 #862A5B
tetradic
#5B862A #2A8683 #552A86 #862A2D
square
#5B862A #2A8683 #552A86 #862A2D
split-complementary
#5B862A #2A2D86 #832A86
monochromatic
#1C290D #3B571B #5B862A #7BB539 #99CD5E

Accessibility & contrast

On white

4.30
#5B862A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5B862A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B862A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B862A#FFFFFF#000000##000000
##5B862A1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1D
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#5D8073
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b862a;
/* rgb */ color: rgb(91, 134, 42);
/* oklch */ color: oklch(56.9% 0.130 131.0);
Tailwind
colors: {
  custom: {
    50: '#8da969',
    500: '#5b862a',
    950: '#000000',
  },
}
SCSS
$custom: #5b862a;
$custom-light: #8da969;
$custom-dark: #000000;
JSON
{
  "hex": "#5b862a",
  "rgb": {
    "r": 91,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 88.043,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56902,
    "c": 0.13029,
    "h": 131
  },
  "luminance": 0.19442
}

Semantic roles & 50–950 ramp

primary
#5B862A
secondary
#835AB2
accent
#4CDC8F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #5B862A

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

Preview Lab → · Contrast checker → · Palette generator →

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