#50731C#50731C

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

Color values

HEX#50731C
RGBrgb(80, 115, 28)
HSLhsl(84, 61%, 28%)
HSVhsv(84, 76%, 45%)
CMYKcmyk(30.4%, 0%, 75.7%, 54.9%)
CIE-LABlab(44.31, -26.69, 41.60)
CIE-LCHlch(44.31, 49.43, 122.68°)
OKLaboklab(51.09% -0.0761 0.0932)
OKLCHoklch(51.09% 0.12 129.2)
XYZxyz(9.6486, 14.0505, 3.3021)
Luminance0.1405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50731C #3F1C73
analogous
#736A1C #50731C #24731C
triadic
#50731C #1C5073 #731C50
tetradic
#50731C #1C736A #3F1C73 #731C24
square
#50731C #1C736A #3F1C73 #731C24
split-complementary
#50731C #1C2473 #6A1C73
monochromatic
#111906 #2E4210 #50731C #72A428 #93CF3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50731C#FFFFFF#000000##FFFFFF
##50731C1.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)
#796A0C
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#536E62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #50731c;
/* rgb */ color: rgb(80, 115, 28);
/* oklch */ color: oklch(51.1% 0.120 129.2);
Tailwind
colors: {
  custom: {
    50: '#849b5f',
    500: '#50731c',
    950: '#000000',
  },
}
SCSS
$custom: #50731c;
$custom-light: #849b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#50731c",
  "rgb": {
    "r": 80,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 84.138,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51085,
    "c": 0.12031,
    "h": 129.2
  },
  "luminance": 0.14051
}

Semantic roles & 50–950 ramp

primary
#50731C
secondary
#6C43A7
accent
#44E484
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #50731C

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

Preview Lab → · Contrast checker → · Palette generator →

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