#50741F#50741F

#50741F is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.4% C 0.120 H 129.8°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#50741F
RGBrgb(80, 116, 31)
HSLhsl(85, 58%, 29%)
HSVhsv(85, 73%, 45%)
CMYKcmyk(31%, 0%, 73.3%, 54.5%)
CIE-LABlab(44.65, -26.97, 40.75)
CIE-LCHlch(44.65, 48.86, 123.50°)
OKLaboklab(51.37% -0.0766 0.0919)
OKLCHoklch(51.37% 0.12 129.8)
XYZxyz(9.8009, 14.2949, 3.5389)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50741F #431F74
analogous
#746E1F #50741F #26741F
triadic
#50741F #1F5074 #741F50
tetradic
#50741F #1F746E #431F74 #741F26
square
#50741F #1F746E #431F74 #741F26
split-complementary
#50741F #1F2674 #6E1F74
monochromatic
#111806 #2F4412 #50741F #71A42C #91CC41

Accessibility & contrast

On white

5.44
#50741F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#50741F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #50741F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50741F#FFFFFF#000000##FFFFFF
##50741F1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B11
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#526F63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #50741f;
/* rgb */ color: rgb(80, 116, 31);
/* oklch */ color: oklch(51.4% 0.120 129.8);
Tailwind
colors: {
  custom: {
    50: '#849c60',
    500: '#50741f',
    950: '#000000',
  },
}
SCSS
$custom: #50741f;
$custom-light: #849c60;
$custom-dark: #000000;
JSON
{
  "hex": "#50741f",
  "rgb": {
    "r": 80,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 85.412,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51374,
    "c": 0.11961,
    "h": 129.8
  },
  "luminance": 0.14295
}

Semantic roles & 50–950 ramp

primary
#50741F
secondary
#7047A8
accent
#47E188
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #50741F

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

Preview Lab → · Contrast checker → · Palette generator →

#50741F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva