#508256#508256

#508256 is a mid, moderate green. Relative luminance 0.183; OKLCH L 55.9% C 0.087 H 147.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#508256
RGBrgb(80, 130, 86)
HSLhsl(127, 24%, 41%)
HSVhsv(127, 38%, 51%)
CMYKcmyk(38.5%, 0%, 33.8%, 49%)
CIE-LABlab(49.91, -26.67, 18.66)
CIE-LCHlch(49.91, 32.55, 145.02°)
OKLaboklab(55.88% -0.0727 0.0469)
OKLCHoklch(55.88% 0.087 147.2)
XYZxyz(12.9699, 18.3419, 11.6592)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508256 #82507C
analogous
#638250 #508256 #50826F
triadic
#508256 #565082 #825650
tetradic
#508256 #506382 #82507C #826F50
square
#508256 #506382 #82507C #826F50
split-complementary
#508256 #6F5082 #825063
monochromatic
#213624 #395C3D #508256 #6BA472 #91BB96

Accessibility & contrast

On white

4.50
#508256 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#508256 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508256
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508256#FFFFFF#000000##000000
##5082561.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#837A53
Deuteranopia (green-blind)
#7C7559
Tritanopia (blue-blind)
#498077
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #508256;
/* rgb */ color: rgb(80, 130, 86);
/* oklch */ color: oklch(55.9% 0.087 147.2);
Tailwind
colors: {
  custom: {
    50: '#83a686',
    500: '#508256',
    950: '#000000',
  },
}
SCSS
$custom: #508256;
$custom-light: #83a686;
$custom-dark: #000000;
JSON
{
  "hex": "#508256",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 86
  },
  "hsl": {
    "h": 127.2,
    "s": 23.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.55883,
    "c": 0.08655,
    "h": 147.2
  },
  "luminance": 0.18343
}

Semantic roles & 50–950 ramp

primary
#508256
secondary
#A886A4
accent
#68B6C0
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B0F0B
muted
#7C7F7C

Preview Lab

Preview with #508256

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

Preview Lab → · Contrast checker → · Palette generator →

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