#5B741E#5B741E

#5B741E is a mid, moderate yellow-green. Relative luminance 0.148; OKLCH L 52.1% C 0.114 H 124.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5B741E
RGBrgb(91, 116, 30)
HSLhsl(77, 59%, 29%)
HSVhsv(77, 74%, 45%)
CMYKcmyk(21.6%, 0%, 74.1%, 54.5%)
CIE-LABlab(45.37, -22.40, 42.11)
CIE-LCHlch(45.37, 47.70, 118.00°)
OKLaboklab(52.14% -0.0648 0.0944)
OKLCHoklch(52.14% 0.114 124.5)
XYZxyz(10.7942, 14.8086, 3.5177)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B741E #371E74
analogous
#74621E #5B741E #30741E
triadic
#5B741E #1E5B74 #741E5B
tetradic
#5B741E #1E7462 #371E74 #741E30
square
#5B741E #1E7462 #371E74 #741E30
split-complementary
#5B741E #1E3074 #621E74
monochromatic
#131806 #354311 #5B741E #81A52B #A4CD3F

Accessibility & contrast

On white

5.30
#5B741E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5B741E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B741E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B741E#FFFFFF#000000##FFFFFF
##5B741E1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C0F
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#5F6E63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5b741e;
/* rgb */ color: rgb(91, 116, 30);
/* oklch */ color: oklch(52.1% 0.114 124.5);
Tailwind
colors: {
  custom: {
    50: '#8c9c60',
    500: '#5b741e',
    950: '#000000',
  },
}
SCSS
$custom: #5b741e;
$custom-light: #8c9c60;
$custom-dark: #000000;
JSON
{
  "hex": "#5b741e",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 30
  },
  "hsl": {
    "h": 77.442,
    "s": 58.904,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52143,
    "c": 0.11449,
    "h": 124.5
  },
  "luminance": 0.14809
}

Semantic roles & 50–950 ramp

primary
#5B741E
secondary
#6246A8
accent
#46E273
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5B741E

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

Preview Lab → · Contrast checker → · Palette generator →

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