#50731A#50731A

#50731A is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 51.1% C 0.122 H 129.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#50731A
RGBrgb(80, 115, 26)
HSLhsl(84, 63%, 28%)
HSVhsv(84, 77%, 45%)
CMYKcmyk(30.4%, 0%, 77.4%, 54.9%)
CIE-LABlab(44.29, -26.82, 42.36)
CIE-LCHlch(44.29, 50.14, 122.34°)
OKLaboklab(51.07% -0.0766 0.0945)
OKLCHoklch(51.07% 0.122 129)
XYZxyz(9.6254, 14.0413, 3.1802)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50731A #3D1A73
analogous
#736A1A #50731A #23731A
triadic
#50731A #1A5073 #731A50
tetradic
#50731A #1A736A #3D1A73 #731A23
square
#50731A #1A736A #3D1A73 #731A23
split-complementary
#50731A #1A2373 #6A1A73
monochromatic
#111906 #2D410F #50731A #73A525 #94D236

Accessibility & contrast

On white

5.51
#50731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#50731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #50731A
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50731A#FFFFFF#000000##FFFFFF
##50731A1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A08
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#536E62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #50731a;
/* rgb */ color: rgb(80, 115, 26);
/* oklch */ color: oklch(51.1% 0.122 129.0);
Tailwind
colors: {
  custom: {
    50: '#849b5e',
    500: '#50731a',
    950: '#000000',
  },
}
SCSS
$custom: #50731a;
$custom-light: #849b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#50731a",
  "rgb": {
    "r": 80,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 83.596,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5107,
    "c": 0.1216,
    "h": 129
  },
  "luminance": 0.14042
}

Semantic roles & 50–950 ramp

primary
#50731A
secondary
#6941A8
accent
#42E682
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #50731A

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

Preview Lab → · Contrast checker → · Palette generator →

#50731A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva