#50701F#50701F

#50701F is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.3% C 0.114 H 128.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#50701F
RGBrgb(80, 112, 31)
HSLhsl(84, 57%, 28%)
HSVhsv(84, 72%, 44%)
CMYKcmyk(28.6%, 0%, 72.3%, 56.1%)
CIE-LABlab(43.35, -25.00, 39.42)
CIE-LCHlch(43.35, 46.68, 122.39°)
OKLaboklab(50.32% -0.0712 0.0891)
OKLCHoklch(50.32% 0.114 128.6)
XYZxyz(9.3497, 13.3925, 3.3885)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50701F #3F1F70
analogous
#70671F #50701F #27701F
triadic
#50701F #1F5070 #701F50
tetradic
#50701F #1F7067 #3F1F70 #701F27
square
#50701F #1F7067 #3F1F70 #701F27
split-complementary
#50701F #1F2770 #671F70
monochromatic
#111807 #2E4012 #50701F #72A02C #93CA3F

Accessibility & contrast

On white

5.71
#50701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#50701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #50701F
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50701F#FFFFFF#000000##FFFFFF
##50701F1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766813
Deuteranopia (green-blind)
#716626
Tritanopia (blue-blind)
#536B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #50701f;
/* rgb */ color: rgb(80, 112, 31);
/* oklch */ color: oklch(50.3% 0.114 128.6);
Tailwind
colors: {
  custom: {
    50: '#849960',
    500: '#50701f',
    950: '#000000',
  },
}
SCSS
$custom: #50701f;
$custom-light: #849960;
$custom-dark: #000000;
JSON
{
  "hex": "#50701f",
  "rgb": {
    "r": 80,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 83.704,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50315,
    "c": 0.11405,
    "h": 128.6
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

primary
#50701F
secondary
#6C47A4
accent
#48E084
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #50701F

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

Preview Lab → · Contrast checker → · Palette generator →

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