#5B7C13#5B7C13

#5B7C13 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.1% C 0.131 H 126.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5B7C13
RGBrgb(91, 124, 19)
HSLhsl(79, 73%, 28%)
HSVhsv(79, 85%, 49%)
CMYKcmyk(26.6%, 0%, 84.7%, 51.4%)
CIE-LABlab(47.86, -26.97, 48.24)
CIE-LCHlch(47.86, 55.27, 119.21°)
OKLaboklab(54.14% -0.0782 0.1054)
OKLCHoklch(54.14% 0.131 126.6)
XYZxyz(11.6396, 16.6862, 3.2235)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7C13 #34137C
analogous
#7C6813 #5B7C13 #267C13
triadic
#5B7C13 #135B7C #7C135B
tetradic
#5B7C13 #137C68 #34137C #7C1326
square
#5B7C13 #137C68 #34137C #7C1326
split-complementary
#5B7C13 #13267C #68137C
monochromatic
#131B04 #34470B #5B7C13 #82B11B #A6DF2B

Accessibility & contrast

On white

4.84
#5B7C13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5B7C13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7C13
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7C13#FFFFFF#000000##FFFFFF
##5B7C131.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7E711F
Tritanopia (blue-blind)
#5F7669
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b7c13;
/* rgb */ color: rgb(91, 124, 19);
/* oklch */ color: oklch(54.1% 0.131 126.6);
Tailwind
colors: {
  custom: {
    50: '#8da25c',
    500: '#5b7c13',
    950: '#000000',
  },
}
SCSS
$custom: #5b7c13;
$custom-light: #8da25c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7c13",
  "rgb": {
    "r": 91,
    "g": 124,
    "b": 19
  },
  "hsl": {
    "h": 78.857,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54143,
    "c": 0.13121,
    "h": 126.6
  },
  "luminance": 0.16686
}

Semantic roles & 50–950 ramp

primary
#5B7C13
secondary
#5F39B2
accent
#38F072
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0F04
muted
#7D7E79

Preview Lab

Preview with #5B7C13

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

Preview Lab → · Contrast checker → · Palette generator →

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