#50852F#50852F

#50852F is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.0% C 0.131 H 135.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#50852F
RGBrgb(80, 133, 47)
HSLhsl(97, 48%, 35%)
HSVhsv(97, 65%, 52%)
CMYKcmyk(39.8%, 0%, 64.7%, 47.8%)
CIE-LABlab(50.32, -33.57, 39.73)
CIE-LCHlch(50.32, 52.02, 130.20°)
OKLaboklab(56.04% -0.0932 0.092)
OKLCHoklch(56.04% 0.131 135.4)
XYZxyz(12.2086, 18.6852, 5.6521)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50852F #642F85
analogous
#7B852F #50852F #2F8539
triadic
#50852F #2F5085 #852F50
tetradic
#50852F #2F7B85 #642F85 #85392F
square
#50852F #2F7B85 #642F85 #85392F
split-complementary
#50852F #392F85 #852F7B
monochromatic
#1A2B0F #35581F #50852F #6BB23F #8CC966

Accessibility & contrast

On white

4.43
#50852F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#50852F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50852F
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50852F#FFFFFF#000000##000000
##50852F1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B25
Deuteranopia (green-blind)
#827636
Tritanopia (blue-blind)
#4F8073
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #50852f;
/* rgb */ color: rgb(80, 133, 47);
/* oklch */ color: oklch(56.0% 0.131 135.4);
Tailwind
colors: {
  custom: {
    50: '#85a96b',
    500: '#50852f',
    950: '#000000',
  },
}
SCSS
$custom: #50852f;
$custom-light: #85a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#50852f",
  "rgb": {
    "r": 80,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 96.977,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56035,
    "c": 0.13096,
    "h": 135.4
  },
  "luminance": 0.18686
}

Semantic roles & 50–950 ramp

primary
#50852F
secondary
#9160B0
accent
#50D7A4
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #50852F

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

Preview Lab → · Contrast checker → · Palette generator →

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