#5B7635#5B7635

#5B7635 is a mid, moderate yellow-green. Relative luminance 0.154; OKLCH L 52.9% C 0.097 H 128.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5B7635
RGBrgb(91, 118, 53)
HSLhsl(85, 38%, 34%)
HSVhsv(85, 55%, 46%)
CMYKcmyk(22.9%, 0%, 55.1%, 53.7%)
CIE-LABlab(46.23, -21.39, 32.28)
CIE-LCHlch(46.23, 38.72, 123.53°)
OKLaboklab(52.91% -0.0598 0.0765)
OKLCHoklch(52.91% 0.097 128.1)
XYZxyz(11.4354, 15.4379, 5.7448)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7635 #503576
analogous
#767035 #5B7635 #3A7635
triadic
#5B7635 #355B76 #76355B
tetradic
#5B7635 #357670 #503576 #76353A
square
#5B7635 #357670 #503576 #76353A
split-complementary
#5B7635 #353A76 #703576
monochromatic
#1A220F #3A4C22 #5B7635 #7CA048 #9ABC6A

Accessibility & contrast

On white

5.14
#5B7635 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5B7635 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7635
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7635#FFFFFF#000000##FFFFFF
##5B76351.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F2F
Deuteranopia (green-blind)
#786D39
Tritanopia (blue-blind)
#5E7167
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b7635;
/* rgb */ color: rgb(91, 118, 53);
/* oklch */ color: oklch(52.9% 0.097 128.1);
Tailwind
colors: {
  custom: {
    50: '#8b9d6e',
    500: '#5b7635',
    950: '#000000',
  },
}
SCSS
$custom: #5b7635;
$custom-light: #8b9d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7635",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 53
  },
  "hsl": {
    "h": 84.923,
    "s": 38.012,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52908,
    "c": 0.0971,
    "h": 128.1
  },
  "luminance": 0.15438
}

Semantic roles & 50–950 ramp

primary
#5B7635
secondary
#7E63A4
accent
#5ACE8A
background
#F8F9F6
surface
#F0F2EC
border
#CBCCC7
text
#0C0E07
muted
#7D7E7A

Preview Lab

Preview with #5B7635

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

Preview Lab → · Contrast checker → · Palette generator →

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