#5C741B#5C741B

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

Color values

HEX#5C741B
RGBrgb(92, 116, 27)
HSLhsl(76, 62%, 28%)
HSVhsv(76, 77%, 45%)
CMYKcmyk(20.7%, 0%, 76.7%, 54.5%)
CIE-LABlab(45.42, -22.15, 43.35)
CIE-LCHlch(45.42, 48.68, 117.06°)
OKLaboklab(52.2% -0.0645 0.0964)
OKLCHoklch(52.2% 0.116 123.8)
XYZxyz(10.8570, 14.8451, 3.3301)
Luminance0.1484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C741B #331B74
analogous
#745F1B #5C741B #2F741B
triadic
#5C741B #1B5C74 #741B5C
tetradic
#5C741B #1B745F #331B74 #741B2F
square
#5C741B #1B745F #331B74 #741B2F
split-complementary
#5C741B #1B2F74 #5F1B74
monochromatic
#141906 #35420F #5C741B #83A627 #A8D139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C741B#FFFFFF#000000##FFFFFF
##5C741B1.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)
#7B6C09
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#616E63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c741b;
/* rgb */ color: rgb(92, 116, 27);
/* oklch */ color: oklch(52.2% 0.116 123.8);
Tailwind
colors: {
  custom: {
    50: '#8d9c5e',
    500: '#5c741b',
    950: '#000000',
  },
}
SCSS
$custom: #5c741b;
$custom-light: #8d9c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c741b",
  "rgb": {
    "r": 92,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 76.18,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52196,
    "c": 0.116,
    "h": 123.8
  },
  "luminance": 0.14845
}

Semantic roles & 50–950 ramp

primary
#5C741B
secondary
#5E42A9
accent
#42E56E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5C741B

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

Preview Lab → · Contrast checker → · Palette generator →

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