#50842F#50842F

#50842F is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 55.8% C 0.130 H 135.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#50842F
RGBrgb(80, 132, 47)
HSLhsl(97, 47%, 35%)
HSVhsv(97, 64%, 52%)
CMYKcmyk(39.4%, 0%, 64.4%, 48.2%)
CIE-LABlab(49.99, -33.12, 39.37)
CIE-LCHlch(49.99, 51.45, 130.07°)
OKLaboklab(55.77% -0.092 0.0912)
OKLCHoklch(55.77% 0.13 135.2)
XYZxyz(12.0723, 18.4126, 5.6067)
Luminance0.1841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50842F #632F84
analogous
#7A842F #50842F #2F8439
triadic
#50842F #2F5084 #842F50
tetradic
#50842F #2F7A84 #632F84 #84392F
square
#50842F #2F7A84 #632F84 #84392F
split-complementary
#50842F #392F84 #842F7A
monochromatic
#192A0F #35571F #50842F #6BB13F #8CC865

Accessibility & contrast

On white

4.48
#50842F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#50842F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50842F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50842F#FFFFFF#000000##000000
##50842F1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#827536
Tritanopia (blue-blind)
#4F7F72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #50842f;
/* rgb */ color: rgb(80, 132, 47);
/* oklch */ color: oklch(55.8% 0.130 135.2);
Tailwind
colors: {
  custom: {
    50: '#85a86b',
    500: '#50842f',
    950: '#000000',
  },
}
SCSS
$custom: #50842f;
$custom-light: #85a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#50842f",
  "rgb": {
    "r": 80,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 96.706,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55771,
    "c": 0.12954,
    "h": 135.2
  },
  "luminance": 0.18413
}

Semantic roles & 50–950 ramp

primary
#50842F
secondary
#9060AF
accent
#51D7A3
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #50842F

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

Preview Lab → · Contrast checker → · Palette generator →

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