#50731B#50731B

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

Color values

HEX#50731B
RGBrgb(80, 115, 27)
HSLhsl(84, 62%, 28%)
HSVhsv(84, 77%, 45%)
CMYKcmyk(30.4%, 0%, 76.5%, 54.9%)
CIE-LABlab(44.30, -26.76, 41.99)
CIE-LCHlch(44.30, 49.79, 122.51°)
OKLaboklab(51.08% -0.0763 0.0939)
OKLCHoklch(51.08% 0.121 129.1)
XYZxyz(9.6368, 14.0458, 3.2401)
Luminance0.1405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50731B #3E1B73
analogous
#736A1B #50731B #24731B
triadic
#50731B #1B5073 #731B50
tetradic
#50731B #1B736A #3E1B73 #731B24
square
#50731B #1B736A #3E1B73 #731B24
split-complementary
#50731B #1B2473 #6A1B73
monochromatic
#111906 #2E410F #50731B #72A527 #94D038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##50731B#FFFFFF#000000##FFFFFF
##50731B1.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)
#796A0A
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#536E62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #50731b;
/* rgb */ color: rgb(80, 115, 27);
/* oklch */ color: oklch(51.1% 0.121 129.1);
Tailwind
colors: {
  custom: {
    50: '#849b5e',
    500: '#50731b',
    950: '#000000',
  },
}
SCSS
$custom: #50731b;
$custom-light: #849b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#50731b",
  "rgb": {
    "r": 80,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 83.864,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51077,
    "c": 0.12097,
    "h": 129.1
  },
  "luminance": 0.14046
}

Semantic roles & 50–950 ramp

primary
#50731B
secondary
#6B42A8
accent
#43E583
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #50731B

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

Preview Lab → · Contrast checker → · Palette generator →

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