#5D741F#5D741F

#5D741F is a mid, moderate yellow-green. Relative luminance 0.149; OKLCH L 52.3% C 0.113 H 123.5°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5D741F
RGBrgb(93, 116, 31)
HSLhsl(76, 58%, 29%)
HSVhsv(76, 73%, 45%)
CMYKcmyk(19.8%, 0%, 73.3%, 54.5%)
CIE-LABlab(45.52, -21.46, 41.90)
CIE-LCHlch(45.52, 47.08, 117.12°)
OKLaboklab(52.3% -0.0623 0.094)
OKLCHoklch(52.3% 0.113 123.5)
XYZxyz(11.0070, 14.9168, 3.5954)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D741F #361F74
analogous
#74611F #5D741F #33741F
triadic
#5D741F #1F5D74 #741F5D
tetradic
#5D741F #1F7461 #361F74 #741F33
square
#5D741F #1F7461 #361F74 #741F33
split-complementary
#5D741F #1F3374 #611F74
monochromatic
#131806 #364412 #5D741F #84A42C #A7CC41

Accessibility & contrast

On white

5.27
#5D741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5D741F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D741F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D741F#FFFFFF#000000##FFFFFF
##5D741F1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C11
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#626E63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d741f;
/* rgb */ color: rgb(93, 116, 31);
/* oklch */ color: oklch(52.3% 0.113 123.5);
Tailwind
colors: {
  custom: {
    50: '#8e9c61',
    500: '#5d741f',
    950: '#000000',
  },
}
SCSS
$custom: #5d741f;
$custom-light: #8e9c61;
$custom-dark: #000000;
JSON
{
  "hex": "#5d741f",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 76.235,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52303,
    "c": 0.1128,
    "h": 123.5
  },
  "luminance": 0.14917
}

Semantic roles & 50–950 ramp

primary
#5D741F
secondary
#6147A8
accent
#47E170
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5D741F

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

Preview Lab → · Contrast checker → · Palette generator →

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