#518145#518145

#518145 is a mid, moderate green. Relative luminance 0.179; OKLCH L 55.3% C 0.103 H 139.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#518145
RGBrgb(81, 129, 69)
HSLhsl(108, 30%, 39%)
HSVhsv(108, 47%, 51%)
CMYKcmyk(37.2%, 0%, 46.5%, 49.4%)
CIE-LABlab(49.35, -28.65, 27.43)
CIE-LCHlch(49.35, 39.66, 136.25°)
OKLaboklab(55.35% -0.0784 0.0669)
OKLCHoklch(55.35% 0.103 139.5)
XYZxyz(12.3173, 17.8789, 8.4310)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518145 #754581
analogous
#6F8145 #518145 #458157
triadic
#518145 #455181 #814551
tetradic
#518145 #456F81 #754581 #815745
square
#518145 #456F81 #754581 #815745
split-complementary
#518145 #574581 #81456F
monochromatic
#1F311A #385930 #518145 #6BA85C #8FBD83

Accessibility & contrast

On white

4.59
#518145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#518145 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #518145
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518145#FFFFFF#000000##FFFFFF
##5181451.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847840
Deuteranopia (green-blind)
#7D7449
Tritanopia (blue-blind)
#4E7D73
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #518145;
/* rgb */ color: rgb(81, 129, 69);
/* oklch */ color: oklch(55.3% 0.103 139.5);
Tailwind
colors: {
  custom: {
    50: '#84a67a',
    500: '#518145',
    950: '#000000',
  },
}
SCSS
$custom: #518145;
$custom-light: #84a67a;
$custom-dark: #000000;
JSON
{
  "hex": "#518145",
  "rgb": {
    "r": 81,
    "g": 129,
    "b": 69
  },
  "hsl": {
    "h": 108,
    "s": 30.303,
    "l": 38.824
  },
  "oklch": {
    "l": 0.55348,
    "c": 0.10301,
    "h": 139.5
  },
  "luminance": 0.1788
}

Semantic roles & 50–950 ramp

primary
#518145
secondary
#9F7AA8
accent
#61C7B2
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B0F09
muted
#7C7F7B

Preview Lab

Preview with #518145

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

Preview Lab → · Contrast checker → · Palette generator →

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