#50711F#50711F

#50711F is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.6% C 0.115 H 128.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#50711F
RGBrgb(80, 113, 31)
HSLhsl(84, 57%, 28%)
HSVhsv(84, 73%, 44%)
CMYKcmyk(29.2%, 0%, 72.6%, 55.7%)
CIE-LABlab(43.67, -25.50, 39.75)
CIE-LCHlch(43.67, 47.23, 122.68°)
OKLaboklab(50.58% -0.0725 0.0898)
OKLCHoklch(50.58% 0.115 128.9)
XYZxyz(9.4607, 13.6144, 3.4255)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50711F #401F71
analogous
#71691F #50711F #27711F
triadic
#50711F #1F5071 #711F50
tetradic
#50711F #1F7169 #401F71 #711F27
square
#50711F #1F7169 #401F71 #711F27
split-complementary
#50711F #1F2771 #691F71
monochromatic
#111807 #2E4112 #50711F #72A12C #93CB40

Accessibility & contrast

On white

5.64
#50711F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#50711F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #50711F
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50711F#FFFFFF#000000##FFFFFF
##50711F1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#726626
Tritanopia (blue-blind)
#536C61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #50711f;
/* rgb */ color: rgb(80, 113, 31);
/* oklch */ color: oklch(50.6% 0.115 128.9);
Tailwind
colors: {
  custom: {
    50: '#849a60',
    500: '#50711f',
    950: '#000000',
  },
}
SCSS
$custom: #50711f;
$custom-light: #849a60;
$custom-dark: #000000;
JSON
{
  "hex": "#50711f",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 84.146,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50579,
    "c": 0.11544,
    "h": 128.9
  },
  "luminance": 0.13615
}

Semantic roles & 50–950 ramp

primary
#50711F
secondary
#6D47A5
accent
#48E085
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #50711F

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

Preview Lab → · Contrast checker → · Palette generator →

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