#508338#508338

#508338 is a mid, moderate green. Relative luminance 0.182; OKLCH L 55.6% C 0.120 H 136.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#508338
RGBrgb(80, 131, 56)
HSLhsl(101, 40%, 37%)
HSVhsv(101, 57%, 51%)
CMYKcmyk(38.9%, 0%, 57.3%, 48.6%)
CIE-LABlab(49.77, -31.68, 34.75)
CIE-LCHlch(49.77, 47.03, 132.35°)
OKLaboklab(55.62% -0.0874 0.0822)
OKLCHoklch(55.62% 0.12 136.7)
XYZxyz(12.1380, 18.2230, 6.6184)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508338 #6B3883
analogous
#768338 #508338 #388346
triadic
#508338 #385083 #833850
tetradic
#508338 #387683 #6B3883 #834638
square
#508338 #387683 #6B3883 #834638
split-complementary
#508338 #463883 #833876
monochromatic
#1C2D13 #365826 #508338 #6AAE4A #8CC372

Accessibility & contrast

On white

4.52
#508338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#508338 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508338
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508338#FFFFFF#000000##000000
##5083381.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877931
Deuteranopia (green-blind)
#80753D
Tritanopia (blue-blind)
#4E7F72
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508338;
/* rgb */ color: rgb(80, 131, 56);
/* oklch */ color: oklch(55.6% 0.120 136.7);
Tailwind
colors: {
  custom: {
    50: '#84a771',
    500: '#508338',
    950: '#000000',
  },
}
SCSS
$custom: #508338;
$custom-light: #84a771;
$custom-dark: #000000;
JSON
{
  "hex": "#508338",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 56
  },
  "hsl": {
    "h": 100.8,
    "s": 40.107,
    "l": 36.667
  },
  "oklch": {
    "l": 0.55616,
    "c": 0.11998,
    "h": 136.7
  },
  "luminance": 0.18224
}

Semantic roles & 50–950 ramp

primary
#508338
secondary
#976BAC
accent
#58D0AA
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #508338

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

Preview Lab → · Contrast checker → · Palette generator →

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