#5B6830#5B6830

#5B6830 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.3% C 0.081 H 120.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5B6830
RGBrgb(91, 104, 48)
HSLhsl(74, 37%, 30%)
HSVhsv(74, 54%, 41%)
CMYKcmyk(12.5%, 0%, 53.8%, 59.2%)
CIE-LABlab(41.75, -14.47, 29.60)
CIE-LCHlch(41.75, 32.95, 116.05°)
OKLaboklab(49.28% -0.041 0.0702)
OKLCHoklch(49.28% 0.081 120.3)
XYZxyz(9.7983, 12.3382, 4.6611)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6830 #3D3068
analogous
#685930 #5B6830 #3F6830
triadic
#5B6830 #305B68 #68305B
tetradic
#5B6830 #306859 #3D3068 #68303F
square
#5B6830 #306859 #3D3068 #68303F
split-complementary
#5B6830 #303F68 #593068
monochromatic
#12150A #363E1D #5B6830 #809243 #A0B55E

Accessibility & contrast

On white

6.06
#5B6830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5B6830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6830
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6830#FFFFFF#000000##FFFFFF
##5B68301.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E632B
Deuteranopia (green-blind)
#6C6333
Tritanopia (blue-blind)
#5F635B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b6830;
/* rgb */ color: rgb(91, 104, 48);
/* oklch */ color: oklch(49.3% 0.081 120.3);
Tailwind
colors: {
  custom: {
    50: '#8b936a',
    500: '#5b6830',
    950: '#000000',
  },
}
SCSS
$custom: #5b6830;
$custom-light: #8b936a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6830",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 73.929,
    "s": 36.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49281,
    "c": 0.08124,
    "h": 120.3
  },
  "luminance": 0.12338
}

Semantic roles & 50–950 ramp

primary
#5B6830
secondary
#695A99
accent
#5BCD75
background
#F8F9F6
surface
#F0F1EB
border
#CBCBC6
text
#0C0D06
muted
#7D7E7A

Preview Lab

Preview with #5B6830

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

Preview Lab → · Contrast checker → · Palette generator →

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