#5C741A#5C741A

#5C741A is a mid, moderate yellow-green. Relative luminance 0.148; OKLCH L 52.2% C 0.117 H 123.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5C741A
RGBrgb(92, 116, 26)
HSLhsl(76, 63%, 28%)
HSVhsv(76, 78%, 45%)
CMYKcmyk(20.7%, 0%, 77.6%, 54.5%)
CIE-LABlab(45.42, -22.20, 43.72)
CIE-LCHlch(45.42, 49.03, 116.92°)
OKLaboklab(52.19% -0.0647 0.097)
OKLCHoklch(52.19% 0.117 123.7)
XYZxyz(10.8456, 14.8406, 3.2702)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C741A #321A74
analogous
#745F1A #5C741A #2F741A
triadic
#5C741A #1A5C74 #741A5C
tetradic
#5C741A #1A745F #321A74 #741A2F
square
#5C741A #1A745F #321A74 #741A2F
split-complementary
#5C741A #1A2F74 #5F1A74
monochromatic
#141906 #34420F #5C741A #84A625 #A9D236

Accessibility & contrast

On white

5.29
#5C741A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5C741A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C741A
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C741A#FFFFFF#000000##FFFFFF
##5C741A1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C07
Deuteranopia (green-blind)
#786B22
Tritanopia (blue-blind)
#616E63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c741a;
/* rgb */ color: rgb(92, 116, 26);
/* oklch */ color: oklch(52.2% 0.117 123.7);
Tailwind
colors: {
  custom: {
    50: '#8d9c5e',
    500: '#5c741a',
    950: '#000000',
  },
}
SCSS
$custom: #5c741a;
$custom-light: #8d9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c741a",
  "rgb": {
    "r": 92,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 76,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52189,
    "c": 0.11663,
    "h": 123.7
  },
  "luminance": 0.14841
}

Semantic roles & 50–950 ramp

primary
#5C741A
secondary
#5D41A9
accent
#41E66D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5C741A

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

Preview Lab → · Contrast checker → · Palette generator →

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