#50852A#50852A

#50852A is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.0% C 0.135 H 134.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#50852A
RGBrgb(80, 133, 42)
HSLhsl(95, 52%, 34%)
HSVhsv(95, 68%, 52%)
CMYKcmyk(39.8%, 0%, 68.4%, 47.8%)
CIE-LABlab(50.27, -34.03, 41.93)
CIE-LCHlch(50.27, 54.00, 129.07°)
OKLaboklab(55.98% -0.0949 0.096)
OKLCHoklch(55.98% 0.135 134.7)
XYZxyz(12.1135, 18.6471, 5.1510)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50852A #5F2A85
analogous
#7E852A #50852A #2A8532
triadic
#50852A #2A5085 #852A50
tetradic
#50852A #2A7E85 #5F2A85 #85322A
square
#50852A #2A7E85 #5F2A85 #85322A
split-complementary
#50852A #322A85 #852A7E
monochromatic
#18280D #34561B #50852A #6CB439 #8CCC5D

Accessibility & contrast

On white

4.44
#50852A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#50852A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50852A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50852A#FFFFFF#000000##000000
##50852A1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1E
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#4F8072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #50852a;
/* rgb */ color: rgb(80, 133, 42);
/* oklch */ color: oklch(56.0% 0.135 134.7);
Tailwind
colors: {
  custom: {
    50: '#85a968',
    500: '#50852a',
    950: '#000000',
  },
}
SCSS
$custom: #50852a;
$custom-light: #85a968;
$custom-dark: #000000;
JSON
{
  "hex": "#50852a",
  "rgb": {
    "r": 80,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 94.945,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55984,
    "c": 0.13496,
    "h": 134.7
  },
  "luminance": 0.18648
}

Semantic roles & 50–950 ramp

primary
#50852A
secondary
#8D59B2
accent
#4CDBA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #50852A

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

Preview Lab → · Contrast checker → · Palette generator →

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