#5B7715#5B7715

#5B7715 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.9% C 0.124 H 125.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5B7715
RGBrgb(91, 119, 21)
HSLhsl(77, 70%, 27%)
HSVhsv(77, 82%, 47%)
CMYKcmyk(23.5%, 0%, 82.4%, 53.3%)
CIE-LABlab(46.27, -24.41, 46.21)
CIE-LCHlch(46.27, 52.26, 117.85°)
OKLaboklab(52.86% -0.0711 0.1014)
OKLCHoklch(52.86% 0.124 125)
XYZxyz(11.0467, 15.4718, 3.1137)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7715 #311577
analogous
#776215 #5B7715 #2A7715
triadic
#5B7715 #155B77 #77155B
tetradic
#5B7715 #157762 #311577 #77152A
square
#5B7715 #157762 #311577 #77152A
split-complementary
#5B7715 #152A77 #621577
monochromatic
#141A05 #33430C #5B7715 #83AB1E #A8DA2D

Accessibility & contrast

On white

5.13
#5B7715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B7715
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7715#FFFFFF#000000##FFFFFF
##5B77151.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#607165
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5b7715;
/* rgb */ color: rgb(91, 119, 21);
/* oklch */ color: oklch(52.9% 0.124 125.0);
Tailwind
colors: {
  custom: {
    50: '#8d9e5c',
    500: '#5b7715',
    950: '#000000',
  },
}
SCSS
$custom: #5b7715;
$custom-light: #8d9e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7715",
  "rgb": {
    "r": 91,
    "g": 119,
    "b": 21
  },
  "hsl": {
    "h": 77.143,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52857,
    "c": 0.12386,
    "h": 125
  },
  "luminance": 0.15472
}

Semantic roles & 50–950 ramp

primary
#5B7715
secondary
#5C3BAD
accent
#3BED6E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E04
muted
#7D7E79

Preview Lab

Preview with #5B7715

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

Preview Lab → · Contrast checker → · Palette generator →

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