#50722F#50722F

#50722F is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 51.0% C 0.103 H 131.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#50722F
RGBrgb(80, 114, 47)
HSLhsl(90, 42%, 32%)
HSVhsv(90, 59%, 45%)
CMYKcmyk(29.8%, 0%, 58.8%, 55.3%)
CIE-LABlab(44.15, -24.52, 32.76)
CIE-LCHlch(44.15, 40.92, 126.81°)
OKLaboklab(51.02% -0.0684 0.0771)
OKLCHoklch(51.02% 0.103 131.6)
XYZxyz(9.8385, 13.9450, 4.8621)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50722F #512F72
analogous
#72722F #50722F #2F7230
triadic
#50722F #2F5072 #722F50
tetradic
#50722F #2F7272 #512F72 #72302F
square
#50722F #2F7272 #512F72 #72302F
split-complementary
#50722F #302F72 #722F72
monochromatic
#131B0B #32471D #50722F #6E9D41 #8DBD5F

Accessibility & contrast

On white

5.54
#50722F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#50722F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #50722F
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50722F#FFFFFF#000000##FFFFFF
##50722F1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A28
Deuteranopia (green-blind)
#726734
Tritanopia (blue-blind)
#516E63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #50722f;
/* rgb */ color: rgb(80, 114, 47);
/* oklch */ color: oklch(51.0% 0.103 131.6);
Tailwind
colors: {
  custom: {
    50: '#839a6a',
    500: '#50722f',
    950: '#000000',
  },
}
SCSS
$custom: #50722f;
$custom-light: #839a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#50722f",
  "rgb": {
    "r": 80,
    "g": 114,
    "b": 47
  },
  "hsl": {
    "h": 90.448,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51018,
    "c": 0.10302,
    "h": 131.6
  },
  "luminance": 0.13945
}

Semantic roles & 50–950 ramp

primary
#50722F
secondary
#7F5AA3
accent
#56D195
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #50722F

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

Preview Lab → · Contrast checker → · Palette generator →

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