#50731F#50731F

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

Color values

HEX#50731F
RGBrgb(80, 115, 31)
HSLhsl(85, 58%, 29%)
HSVhsv(85, 73%, 45%)
CMYKcmyk(30.4%, 0%, 73%, 54.9%)
CIE-LABlab(44.33, -26.48, 40.42)
CIE-LCHlch(44.33, 48.32, 123.23°)
OKLaboklab(51.11% -0.0752 0.0912)
OKLCHoklch(51.11% 0.118 129.5)
XYZxyz(9.6863, 14.0656, 3.5007)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50731F #421F73
analogous
#736C1F #50731F #26731F
triadic
#50731F #1F5073 #731F50
tetradic
#50731F #1F736C #421F73 #731F26
square
#50731F #1F736C #421F73 #731F26
split-complementary
#50731F #1F2673 #6C1F73
monochromatic
#111806 #2E4312 #50731F #72A32C #92CC41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #50731f;
/* rgb */ color: rgb(80, 115, 31);
/* oklch */ color: oklch(51.1% 0.118 129.5);
Tailwind
colors: {
  custom: {
    50: '#849b60',
    500: '#50731f',
    950: '#000000',
  },
}
SCSS
$custom: #50731f;
$custom-light: #849b60;
$custom-dark: #000000;
JSON
{
  "hex": "#50731f",
  "rgb": {
    "r": 80,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 85,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51109,
    "c": 0.11823,
    "h": 129.5
  },
  "luminance": 0.14066
}

Semantic roles & 50–950 ramp

primary
#50731F
secondary
#6F47A7
accent
#47E187
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #50731F

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

Preview Lab → · Contrast checker → · Palette generator →

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