#508451#508451

#508451 is a mid, moderate green. Relative luminance 0.188; OKLCH L 56.3% C 0.095 H 144.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#508451
RGBrgb(80, 132, 81)
HSLhsl(121, 25%, 42%)
HSVhsv(121, 39%, 52%)
CMYKcmyk(39.4%, 0%, 38.6%, 48.2%)
CIE-LABlab(50.45, -28.53, 22.21)
CIE-LCHlch(50.45, 36.16, 142.10°)
OKLaboklab(56.3% -0.0777 0.0553)
OKLCHoklch(56.3% 0.095 144.6)
XYZxyz(13.0441, 18.8014, 10.7247)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508451 #845083
analogous
#698450 #508451 #50846B
triadic
#508451 #515084 #845150
tetradic
#508451 #506984 #845083 #846B50
square
#508451 #506984 #845083 #846B50
split-complementary
#508451 #6B5084 #845069
monochromatic
#223822 #395E3A #508451 #6CA66D #92BD92

Accessibility & contrast

On white

4.41
#508451 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#508451 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508451
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508451#FFFFFF#000000##000000
##5084511.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867B4D
Deuteranopia (green-blind)
#7E7654
Tritanopia (blue-blind)
#4A8177
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #508451;
/* rgb */ color: rgb(80, 132, 81);
/* oklch */ color: oklch(56.3% 0.095 144.6);
Tailwind
colors: {
  custom: {
    50: '#83a882',
    500: '#508451',
    950: '#000000',
  },
}
SCSS
$custom: #508451;
$custom-light: #83a882;
$custom-dark: #000000;
JSON
{
  "hex": "#508451",
  "rgb": {
    "r": 80,
    "g": 132,
    "b": 81
  },
  "hsl": {
    "h": 121.154,
    "s": 24.528,
    "l": 41.569
  },
  "oklch": {
    "l": 0.56296,
    "c": 0.09537,
    "h": 144.6
  },
  "luminance": 0.18802
}

Semantic roles & 50–950 ramp

primary
#508451
secondary
#AA86A9
accent
#67BFC1
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B0F0A
muted
#7C7F7C

Preview Lab

Preview with #508451

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

Preview Lab → · Contrast checker → · Palette generator →

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