#508254#508254

#508254 is a mid, moderate green. Relative luminance 0.183; OKLCH L 55.8% C 0.089 H 146.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#508254
RGBrgb(80, 130, 84)
HSLhsl(125, 24%, 41%)
HSVhsv(125, 38%, 51%)
CMYKcmyk(38.5%, 0%, 35.4%, 49%)
CIE-LABlab(49.87, -27.03, 19.75)
CIE-LCHlch(49.87, 33.48, 143.85°)
OKLaboklab(55.84% -0.0737 0.0495)
OKLCHoklch(55.84% 0.089 146.1)
XYZxyz(12.8905, 18.3101, 11.2408)
Luminance0.1831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508254 #82507E
analogous
#658250 #508254 #50826D
triadic
#508254 #545082 #825450
tetradic
#508254 #506582 #82507E #826D50
square
#508254 #506582 #82507E #826D50
split-complementary
#508254 #6D5082 #825065
monochromatic
#213623 #395C3C #508254 #6BA470 #91BB94

Accessibility & contrast

On white

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

On black

4.66
#508254 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508254
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508254#FFFFFF#000000##000000
##5082541.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#847A51
Deuteranopia (green-blind)
#7C7557
Tritanopia (blue-blind)
#4A8076
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #508254;
/* rgb */ color: rgb(80, 130, 84);
/* oklch */ color: oklch(55.8% 0.089 146.1);
Tailwind
colors: {
  custom: {
    50: '#83a684',
    500: '#508254',
    950: '#000000',
  },
}
SCSS
$custom: #508254;
$custom-light: #83a684;
$custom-dark: #000000;
JSON
{
  "hex": "#508254",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 84
  },
  "hsl": {
    "h": 124.8,
    "s": 23.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5584,
    "c": 0.08875,
    "h": 146.1
  },
  "luminance": 0.18311
}

Semantic roles & 50–950 ramp

primary
#508254
secondary
#A886A5
accent
#68B9C0
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B0F0B
muted
#7C7F7C

Preview Lab

Preview with #508254

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

Preview Lab → · Contrast checker → · Palette generator →

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