#5B7613#5B7613

#5B7613 is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.6% C 0.124 H 124.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5B7613
RGBrgb(91, 118, 19)
HSLhsl(76, 72%, 27%)
HSVhsv(76, 84%, 46%)
CMYKcmyk(22.9%, 0%, 83.9%, 53.7%)
CIE-LABlab(45.94, -24.00, 46.53)
CIE-LCHlch(45.94, 52.35, 117.29°)
OKLaboklab(52.59% -0.0702 0.1017)
OKLCHoklch(52.59% 0.124 124.6)
XYZxyz(10.9105, 15.2279, 2.9804)
Luminance0.1523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7613 #2E1376
analogous
#766013 #5B7613 #297613
triadic
#5B7613 #135B76 #76135B
tetradic
#5B7613 #137660 #2E1376 #761329
square
#5B7613 #137660 #2E1376 #761329
split-complementary
#5B7613 #132976 #601376
monochromatic
#141A04 #32410B #5B7613 #84AB1B #ABDC27

Accessibility & contrast

On white

5.19
#5B7613 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5B7613 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7613
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7613#FFFFFF#000000##FFFFFF
##5B76131.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#796D1E
Tritanopia (blue-blind)
#607064
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b7613;
/* rgb */ color: rgb(91, 118, 19);
/* oklch */ color: oklch(52.6% 0.124 124.6);
Tailwind
colors: {
  custom: {
    50: '#8d9d5b',
    500: '#5b7613',
    950: '#000000',
  },
}
SCSS
$custom: #5b7613;
$custom-light: #8d9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7613",
  "rgb": {
    "r": 91,
    "g": 118,
    "b": 19
  },
  "hsl": {
    "h": 76.364,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52588,
    "c": 0.12357,
    "h": 124.6
  },
  "luminance": 0.15228
}

Semantic roles & 50–950 ramp

primary
#5B7613
secondary
#5839AC
accent
#39EF6B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5B7613

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

Preview Lab → · Contrast checker → · Palette generator →

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