#508245#508245

#508245 is a mid, moderate green. Relative luminance 0.181; OKLCH L 55.6% C 0.105 H 140.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#508245
RGBrgb(80, 130, 69)
HSLhsl(109, 31%, 39%)
HSVhsv(109, 47%, 51%)
CMYKcmyk(38.5%, 0%, 46.9%, 49%)
CIE-LABlab(49.62, -29.48, 27.75)
CIE-LCHlch(49.62, 40.49, 136.73°)
OKLaboklab(55.55% -0.0806 0.0676)
OKLCHoklch(55.55% 0.105 140)
XYZxyz(12.3646, 18.0998, 8.4712)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508245 #774582
analogous
#6F8245 #508245 #458259
triadic
#508245 #455082 #824550
tetradic
#508245 #456F82 #774582 #825945
square
#508245 #456F82 #774582 #825945
split-complementary
#508245 #594582 #82456F
monochromatic
#1F321B #375A30 #508245 #6AA85C #8EBE84

Accessibility & contrast

On white

4.55
#508245 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#508245 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508245
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508245#FFFFFF#000000##000000
##5082451.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#857940
Deuteranopia (green-blind)
#7E7449
Tritanopia (blue-blind)
#4C7E73
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508245;
/* rgb */ color: rgb(80, 130, 69);
/* oklch */ color: oklch(55.6% 0.105 140.0);
Tailwind
colors: {
  custom: {
    50: '#84a67a',
    500: '#508245',
    950: '#000000',
  },
}
SCSS
$custom: #508245;
$custom-light: #84a67a;
$custom-dark: #000000;
JSON
{
  "hex": "#508245",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 69
  },
  "hsl": {
    "h": 109.18,
    "s": 30.653,
    "l": 39.02
  },
  "oklch": {
    "l": 0.55551,
    "c": 0.1052,
    "h": 140
  },
  "luminance": 0.181
}

Semantic roles & 50–950 ramp

primary
#508245
secondary
#A07AA9
accent
#61C7B4
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B0F09
muted
#7C7F7B

Preview Lab

Preview with #508245

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

Preview Lab → · Contrast checker → · Palette generator →

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