#50751A#50751A

#50751A is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.6% C 0.124 H 129.6°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#50751A
RGBrgb(80, 117, 26)
HSLhsl(84, 64%, 28%)
HSVhsv(84, 78%, 46%)
CMYKcmyk(31.6%, 0%, 77.8%, 54.1%)
CIE-LABlab(44.94, -27.79, 42.99)
CIE-LCHlch(44.94, 51.19, 122.88°)
OKLaboklab(51.6% -0.0792 0.0958)
OKLCHoklch(51.6% 0.124 129.6)
XYZxyz(9.8560, 14.5023, 3.2570)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50751A #3F1A75
analogous
#756C1A #50751A #22751A
triadic
#50751A #1A5075 #751A50
tetradic
#50751A #1A756C #3F1A75 #751A22
square
#50751A #1A756C #3F1A75 #751A22
split-complementary
#50751A #1A2275 #6C1A75
monochromatic
#111906 #2E430F #50751A #72A725 #93D337

Accessibility & contrast

On white

5.38
#50751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#50751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #50751A
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50751A#FFFFFF#000000##FFFFFF
##50751A1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C07
Deuteranopia (green-blind)
#766923
Tritanopia (blue-blind)
#527064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #50751a;
/* rgb */ color: rgb(80, 117, 26);
/* oklch */ color: oklch(51.6% 0.124 129.6);
Tailwind
colors: {
  custom: {
    50: '#859d5e',
    500: '#50751a',
    950: '#000000',
  },
}
SCSS
$custom: #50751a;
$custom-light: #859d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#50751a",
  "rgb": {
    "r": 80,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 84.396,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51601,
    "c": 0.1243,
    "h": 129.6
  },
  "luminance": 0.14503
}

Semantic roles & 50–950 ramp

primary
#50751A
secondary
#6C41AA
accent
#41E784
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #50751A

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

Preview Lab → · Contrast checker → · Palette generator →

#50751A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva