#508239#508239

#508239 is a mid, moderate green. Relative luminance 0.180; OKLCH L 55.4% C 0.118 H 136.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#508239
RGBrgb(80, 130, 57)
HSLhsl(101, 39%, 37%)
HSVhsv(101, 56%, 51%)
CMYKcmyk(38.5%, 0%, 56.2%, 49%)
CIE-LABlab(49.45, -31.10, 33.88)
CIE-LCHlch(49.45, 45.98, 132.55°)
OKLaboklab(55.37% -0.0857 0.0804)
OKLCHoklch(55.37% 0.118 136.8)
XYZxyz(12.0291, 17.9656, 6.7040)
Luminance0.1797 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508239 #6B3982
analogous
#758239 #508239 #398247
triadic
#508239 #395082 #823950
tetradic
#508239 #397582 #6B3982 #824739
square
#508239 #397582 #6B3982 #824739
split-complementary
#508239 #473982 #823975
monochromatic
#1C2D14 #365726 #508239 #6AAD4C #8CC274

Accessibility & contrast

On white

4.57
#508239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#508239 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508239
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508239#FFFFFF#000000##000000
##5082391.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867832
Deuteranopia (green-blind)
#7F743E
Tritanopia (blue-blind)
#4E7E72
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508239;
/* rgb */ color: rgb(80, 130, 57);
/* oklch */ color: oklch(55.4% 0.118 136.8);
Tailwind
colors: {
  custom: {
    50: '#84a671',
    500: '#508239',
    950: '#000000',
  },
}
SCSS
$custom: #508239;
$custom-light: #84a671;
$custom-dark: #000000;
JSON
{
  "hex": "#508239",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 101.096,
    "s": 39.037,
    "l": 36.667
  },
  "oklch": {
    "l": 0.55366,
    "c": 0.11752,
    "h": 136.8
  },
  "luminance": 0.17966
}

Semantic roles & 50–950 ramp

primary
#508239
secondary
#976CAB
accent
#59CFAA
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #508239

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

Preview Lab → · Contrast checker → · Palette generator →

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