#507142#507142

#507142 is a mid, moderate green. Relative luminance 0.139; OKLCH L 51.1% C 0.081 H 136.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#507142
RGBrgb(80, 113, 66)
HSLhsl(102, 26%, 35%)
HSVhsv(102, 42%, 44%)
CMYKcmyk(29.2%, 0%, 41.6%, 55.7%)
CIE-LABlab(44.10, -21.48, 22.37)
CIE-LCHlch(44.10, 31.02, 133.83°)
OKLaboklab(51.06% -0.0588 0.0552)
OKLCHoklch(51.06% 0.081 136.8)
XYZxyz(10.1965, 13.9087, 7.3006)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507142 #634271
analogous
#677142 #507142 #42714C
triadic
#507142 #425071 #714250
tetradic
#507142 #426771 #634271 #714C42
square
#507142 #426771 #634271 #714C42
split-complementary
#507142 #4C4271 #714267
monochromatic
#192415 #354A2B #507142 #6B9859 #8CB27B

Accessibility & contrast

On white

5.55
#507142 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#507142 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507142
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507142#FFFFFF#000000##FFFFFF
##5071421.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746A3F
Deuteranopia (green-blind)
#6F6745
Tritanopia (blue-blind)
#4F6E65
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #507142;
/* rgb */ color: rgb(80, 113, 66);
/* oklch */ color: oklch(51.1% 0.081 136.8);
Tailwind
colors: {
  custom: {
    50: '#829a77',
    500: '#507142',
    950: '#000000',
  },
}
SCSS
$custom: #507142;
$custom-light: #829a77;
$custom-dark: #000000;
JSON
{
  "hex": "#507142",
  "rgb": {
    "r": 80,
    "g": 113,
    "b": 66
  },
  "hsl": {
    "h": 102.128,
    "s": 26.257,
    "l": 35.098
  },
  "oklch": {
    "l": 0.51063,
    "c": 0.08059,
    "h": 136.8
  },
  "luminance": 0.13909
}

Semantic roles & 50–950 ramp

primary
#507142
secondary
#90719D
accent
#65C3A7
background
#F8F9F7
surface
#EFF2ED
border
#CACCC8
text
#0A0E08
muted
#7C7E7B

Preview Lab

Preview with #507142

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

Preview Lab → · Contrast checker → · Palette generator →

#507142 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva