#508238#508238

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

Color values

HEX#508238
RGBrgb(80, 130, 56)
HSLhsl(101, 40%, 36%)
HSVhsv(101, 57%, 51%)
CMYKcmyk(38.5%, 0%, 56.9%, 49%)
CIE-LABlab(49.44, -31.22, 34.37)
CIE-LCHlch(49.44, 46.43, 132.25°)
OKLaboklab(55.35% -0.0861 0.0814)
OKLCHoklch(55.35% 0.118 136.6)
XYZxyz(12.0044, 17.9557, 6.5739)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508238 #6A3882
analogous
#758238 #508238 #388245
triadic
#508238 #385082 #823850
tetradic
#508238 #387582 #6A3882 #824538
square
#508238 #387582 #6A3882 #824538
split-complementary
#508238 #453882 #823875
monochromatic
#1B2C13 #365726 #508238 #6AAD4A #8CC272

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508238#FFFFFF#000000##000000
##5082381.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)
#867831
Deuteranopia (green-blind)
#7F743D
Tritanopia (blue-blind)
#4E7E72
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508238;
/* rgb */ color: rgb(80, 130, 56);
/* oklch */ color: oklch(55.4% 0.118 136.6);
Tailwind
colors: {
  custom: {
    50: '#84a671',
    500: '#508238',
    950: '#000000',
  },
}
SCSS
$custom: #508238;
$custom-light: #84a671;
$custom-dark: #000000;
JSON
{
  "hex": "#508238",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 56
  },
  "hsl": {
    "h": 100.541,
    "s": 39.785,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55353,
    "c": 0.11849,
    "h": 136.6
  },
  "luminance": 0.17956
}

Semantic roles & 50–950 ramp

primary
#508238
secondary
#966BAB
accent
#58D0A9
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #508238

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

Preview Lab → · Contrast checker → · Palette generator →

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