#507258#507258

#507258 is a mid, muted green. Relative luminance 0.144; OKLCH L 51.8% C 0.057 H 151.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#507258
RGBrgb(80, 114, 88)
HSLhsl(134, 18%, 38%)
HSVhsv(134, 30%, 45%)
CMYKcmyk(29.8%, 0%, 22.8%, 55.3%)
CIE-LABlab(44.86, -18.04, 10.58)
CIE-LCHlch(44.86, 20.91, 149.62°)
OKLaboklab(51.82% -0.0496 0.0271)
OKLCHoklch(51.82% 0.057 151.4)
XYZxyz(11.0865, 14.4442, 11.4345)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507258 #72506A
analogous
#597250 #507258 #507269
triadic
#507258 #585072 #725850
tetradic
#507258 #505972 #72506A #726950
square
#507258 #505972 #72506A #726950
split-complementary
#507258 #695072 #725059
monochromatic
#1E2A20 #374E3C #507258 #699674 #8DAF95

Accessibility & contrast

On white

5.40
#507258 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#507258 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507258
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507258#FFFFFF#000000##FFFFFF
##5072581.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726C57
Deuteranopia (green-blind)
#6D6959
Tritanopia (blue-blind)
#4B716B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #507258;
/* rgb */ color: rgb(80, 114, 88);
/* oklch */ color: oklch(51.8% 0.057 151.4);
Tailwind
colors: {
  custom: {
    50: '#829a87',
    500: '#507258',
    950: '#000000',
  },
}
SCSS
$custom: #507258;
$custom-light: #829a87;
$custom-dark: #000000;
JSON
{
  "hex": "#507258",
  "rgb": {
    "r": 80,
    "g": 114,
    "b": 88
  },
  "hsl": {
    "h": 134.118,
    "s": 17.526,
    "l": 38.039
  },
  "oklch": {
    "l": 0.51823,
    "c": 0.05655,
    "h": 151.4
  },
  "luminance": 0.14445
}

Semantic roles & 50–950 ramp

primary
#507258
secondary
#9D8196
accent
#6EA8BA
background
#F8F9F8
surface
#EFF2EF
border
#CACCCA
text
#0A0E0B
muted
#7C7E7C

Preview Lab

Preview with #507258

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

Preview Lab → · Contrast checker → · Palette generator →

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