#5B741D#5B741D

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

Color values

HEX#5B741D
RGBrgb(91, 116, 29)
HSLhsl(77, 60%, 28%)
HSVhsv(77, 75%, 45%)
CMYKcmyk(21.6%, 0%, 75%, 54.5%)
CIE-LABlab(45.36, -22.46, 42.50)
CIE-LCHlch(45.36, 48.07, 117.85°)
OKLaboklab(52.14% -0.0651 0.095)
OKLCHoklch(52.14% 0.115 124.4)
XYZxyz(10.7816, 14.8035, 3.4515)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B741D #361D74
analogous
#74611D #5B741D #2F741D
triadic
#5B741D #1D5B74 #741D5B
tetradic
#5B741D #1D7461 #361D74 #741D2F
square
#5B741D #1D7461 #361D74 #741D2F
split-complementary
#5B741D #1D2F74 #611D74
monochromatic
#131806 #354311 #5B741D #81A529 #A5CE3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B741D#FFFFFF#000000##FFFFFF
##5B741D1.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)
#7B6C0D
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#606E63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5b741d;
/* rgb */ color: rgb(91, 116, 29);
/* oklch */ color: oklch(52.1% 0.115 124.4);
Tailwind
colors: {
  custom: {
    50: '#8c9c5f',
    500: '#5b741d',
    950: '#000000',
  },
}
SCSS
$custom: #5b741d;
$custom-light: #8c9c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b741d",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 29
  },
  "hsl": {
    "h": 77.241,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52136,
    "c": 0.11518,
    "h": 124.4
  },
  "luminance": 0.14804
}

Semantic roles & 50–950 ramp

primary
#5B741D
secondary
#6145A8
accent
#45E372
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5B741D

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

Preview Lab → · Contrast checker → · Palette generator →

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