#5B6820#5B6820

#5B6820 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 49.1% C 0.097 H 118.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5B6820
RGBrgb(91, 104, 32)
HSLhsl(71, 53%, 27%)
HSVhsv(71, 69%, 41%)
CMYKcmyk(12.5%, 0%, 69.2%, 59.2%)
CIE-LABlab(41.58, -15.93, 37.39)
CIE-LCHlch(41.58, 40.64, 113.08°)
OKLaboklab(49.09% -0.0468 0.0848)
OKLCHoklch(49.09% 0.097 118.9)
XYZxyz(9.5256, 12.2291, 3.2249)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6820 #2D2068
analogous
#685120 #5B6820 #376820
triadic
#5B6820 #205B68 #68205B
tetradic
#5B6820 #206851 #2D2068 #682037
square
#5B6820 #206851 #2D2068 #682037
split-complementary
#5B6820 #203768 #512068
monochromatic
#141707 #323912 #5B6820 #84972E #ACC43F

Accessibility & contrast

On white

6.09
#5B6820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5B6820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6820
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6820#FFFFFF#000000##FFFFFF
##5B68201.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6216
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#606259
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b6820;
/* rgb */ color: rgb(91, 104, 32);
/* oklch */ color: oklch(49.1% 0.097 118.9);
Tailwind
colors: {
  custom: {
    50: '#8c9360',
    500: '#5b6820',
    950: '#000000',
  },
}
SCSS
$custom: #5b6820;
$custom-light: #8c9360;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6820",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 32
  },
  "hsl": {
    "h": 70.833,
    "s": 52.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49089,
    "c": 0.09682,
    "h": 118.9
  },
  "luminance": 0.12229
}

Semantic roles & 50–950 ramp

primary
#5B6820
secondary
#57489C
accent
#4BDC66
background
#F8F9F5
surface
#F0F1EA
border
#CBCBC6
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #5B6820

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

Preview Lab → · Contrast checker → · Palette generator →

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