#50731E#50731E

#50731E is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.1% C 0.119 H 129.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#50731E
RGBrgb(80, 115, 30)
HSLhsl(85, 59%, 28%)
HSVhsv(85, 74%, 45%)
CMYKcmyk(30.4%, 0%, 73.9%, 54.9%)
CIE-LABlab(44.32, -26.55, 40.82)
CIE-LCHlch(44.32, 48.70, 123.04°)
OKLaboklab(51.1% -0.0755 0.0919)
OKLCHoklch(51.1% 0.119 129.4)
XYZxyz(9.6733, 14.0604, 3.4323)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50731E #411E73
analogous
#736B1E #50731E #25731E
triadic
#50731E #1E5073 #731E50
tetradic
#50731E #1E736B #411E73 #731E25
square
#50731E #1E736B #411E73 #731E25
split-complementary
#50731E #1E2573 #6B1E73
monochromatic
#111806 #2E4211 #50731E #72A42B #92CD3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50731E#FFFFFF#000000##FFFFFF
##50731E1.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)
#796A10
Deuteranopia (green-blind)
#746826
Tritanopia (blue-blind)
#526E62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #50731e;
/* rgb */ color: rgb(80, 115, 30);
/* oklch */ color: oklch(51.1% 0.119 129.4);
Tailwind
colors: {
  custom: {
    50: '#849b60',
    500: '#50731e',
    950: '#000000',
  },
}
SCSS
$custom: #50731e;
$custom-light: #849b60;
$custom-dark: #000000;
JSON
{
  "hex": "#50731e",
  "rgb": {
    "r": 80,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 84.706,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51101,
    "c": 0.11894,
    "h": 129.4
  },
  "luminance": 0.14061
}

Semantic roles & 50–950 ramp

primary
#50731E
secondary
#6E46A7
accent
#46E286
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #50731E

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

Preview Lab → · Contrast checker → · Palette generator →

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