#50741B#50741B

#50741B is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.3% C 0.122 H 129.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#50741B
RGBrgb(80, 116, 27)
HSLhsl(84, 62%, 28%)
HSVhsv(84, 77%, 45%)
CMYKcmyk(31%, 0%, 76.7%, 54.5%)
CIE-LABlab(44.62, -27.24, 42.31)
CIE-LCHlch(44.62, 50.32, 122.78°)
OKLaboklab(51.34% -0.0776 0.0945)
OKLCHoklch(51.34% 0.122 129.4)
XYZxyz(9.7515, 14.2751, 3.2783)
Luminance0.1427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50741B #3F1B74
analogous
#746B1B #50741B #23741B
triadic
#50741B #1B5074 #741B50
tetradic
#50741B #1B746B #3F1B74 #741B23
square
#50741B #1B746B #3F1B74 #741B23
split-complementary
#50741B #1B2374 #6B1B74
monochromatic
#111906 #2E420F #50741B #72A627 #93D139

Accessibility & contrast

On white

5.45
#50741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#50741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #50741B
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50741B#FFFFFF#000000##FFFFFF
##50741B1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B09
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#526F63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #50741b;
/* rgb */ color: rgb(80, 116, 27);
/* oklch */ color: oklch(51.3% 0.122 129.4);
Tailwind
colors: {
  custom: {
    50: '#849c5e',
    500: '#50741b',
    950: '#000000',
  },
}
SCSS
$custom: #50741b;
$custom-light: #849c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#50741b",
  "rgb": {
    "r": 80,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 84.27,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51343,
    "c": 0.12233,
    "h": 129.4
  },
  "luminance": 0.14275
}

Semantic roles & 50–950 ramp

primary
#50741B
secondary
#6C42A9
accent
#42E584
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #50741B

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

Preview Lab → · Contrast checker → · Palette generator →

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