#507A40#507A40

#507A40 is a mid, moderate green. Relative luminance 0.160; OKLCH L 53.4% C 0.098 H 137.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#507A40
RGBrgb(80, 122, 64)
HSLhsl(103, 31%, 36%)
HSVhsv(103, 48%, 48%)
CMYKcmyk(34.4%, 0%, 47.5%, 52.2%)
CIE-LABlab(46.97, -26.33, 27.14)
CIE-LCHlch(46.97, 37.81, 134.13°)
OKLaboklab(53.37% -0.0722 0.066)
OKLCHoklch(53.37% 0.098 137.6)
XYZxyz(11.1929, 15.9942, 7.3469)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A40 #6A407A
analogous
#6D7A40 #507A40 #407A4D
triadic
#507A40 #40507A #7A4050
tetradic
#507A40 #406D7A #6A407A #7A4D40
square
#507A40 #406D7A #6A407A #7A4D40
split-complementary
#507A40 #4D407A #7A406D
monochromatic
#1B2A16 #36522B #507A40 #6AA255 #8CBA7B

Accessibility & contrast

On white

5.00
#507A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#507A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A40
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A40#FFFFFF#000000##FFFFFF
##507A401.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D723B
Deuteranopia (green-blind)
#776E44
Tritanopia (blue-blind)
#4E766C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #507a40;
/* rgb */ color: rgb(80, 122, 64);
/* oklch */ color: oklch(53.4% 0.098 137.6);
Tailwind
colors: {
  custom: {
    50: '#83a076',
    500: '#507a40',
    950: '#000000',
  },
}
SCSS
$custom: #507a40;
$custom-light: #83a076;
$custom-dark: #000000;
JSON
{
  "hex": "#507a40",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 103.448,
    "s": 31.183,
    "l": 36.471
  },
  "oklch": {
    "l": 0.53374,
    "c": 0.09779,
    "h": 137.6
  },
  "luminance": 0.15995
}

Semantic roles & 50–950 ramp

primary
#507A40
secondary
#9672A4
accent
#60C7AB
background
#F8F9F7
surface
#EFF2ED
border
#CACCC8
text
#0B0F08
muted
#7C7E7B

Preview Lab

Preview with #507A40

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

Preview Lab → · Contrast checker → · Palette generator →

#507A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva