#508252#508252

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

Color values

HEX#508252
RGBrgb(80, 130, 82)
HSLhsl(122, 24%, 41%)
HSVhsv(122, 38%, 51%)
CMYKcmyk(38.5%, 0%, 36.9%, 49%)
CIE-LABlab(49.83, -27.39, 20.83)
CIE-LCHlch(49.83, 34.41, 142.75°)
OKLaboklab(55.8% -0.0746 0.052)
OKLCHoklch(55.8% 0.091 145.1)
XYZxyz(12.8133, 18.2792, 10.8341)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508252 #825080
analogous
#678250 #508252 #50826B
triadic
#508252 #525082 #825250
tetradic
#508252 #506782 #825080 #826B50
square
#508252 #506782 #825080 #826B50
split-complementary
#508252 #6B5082 #825067
monochromatic
#213622 #395C3A #508252 #6BA46D #91BB93

Accessibility & contrast

On white

4.51
#508252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##508252#FFFFFF#000000##000000
##5082521.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#847A4F
Deuteranopia (green-blind)
#7C7555
Tritanopia (blue-blind)
#4A7F76
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508252;
/* rgb */ color: rgb(80, 130, 82);
/* oklch */ color: oklch(55.8% 0.091 145.1);
Tailwind
colors: {
  custom: {
    50: '#83a683',
    500: '#508252',
    950: '#000000',
  },
}
SCSS
$custom: #508252;
$custom-light: #83a683;
$custom-dark: #000000;
JSON
{
  "hex": "#508252",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 82
  },
  "hsl": {
    "h": 122.4,
    "s": 23.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.55798,
    "c": 0.09097,
    "h": 145.1
  },
  "luminance": 0.1828
}

Semantic roles & 50–950 ramp

primary
#508252
secondary
#A886A7
accent
#68BDC0
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B0F0A
muted
#7C7F7C

Preview Lab

Preview with #508252

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

Preview Lab → · Contrast checker → · Palette generator →

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