#51886A#51886A

#51886A is a mid, moderate green. Relative luminance 0.204; OKLCH L 58.0% C 0.075 H 159.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#51886A
RGBrgb(81, 136, 106)
HSLhsl(147, 25%, 43%)
HSVhsv(147, 40%, 53%)
CMYKcmyk(40.4%, 0%, 22.1%, 46.7%)
CIE-LABlab(52.28, -25.34, 10.48)
CIE-LCHlch(52.28, 27.42, 157.53°)
OKLaboklab(57.96% -0.0701 0.0269)
OKLCHoklch(57.96% 0.075 159)
XYZxyz(14.7980, 20.3973, 16.7902)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51886A #88516F
analogous
#538851 #51886A #518886
triadic
#51886A #6A5188 #886A51
tetradic
#51886A #515388 #88516F #888651
square
#51886A #515388 #88516F #888651
split-complementary
#51886A #865188 #885153
monochromatic
#233B2E #3A624C #51886A #6EA888 #94BFA8

Accessibility & contrast

On white

4.13
#51886A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#51886A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51886A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51886A#FFFFFF#000000##000000
##51886A1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#878068
Deuteranopia (green-blind)
#7E7A6C
Tritanopia (blue-blind)
#448780
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #51886a;
/* rgb */ color: rgb(81, 136, 106);
/* oklch */ color: oklch(58.0% 0.075 159.0);
Tailwind
colors: {
  custom: {
    50: '#84ab94',
    500: '#51886a',
    950: '#000000',
  },
}
SCSS
$custom: #51886a;
$custom-light: #84ab94;
$custom-dark: #000000;
JSON
{
  "hex": "#51886a",
  "rgb": {
    "r": 81,
    "g": 136,
    "b": 106
  },
  "hsl": {
    "h": 147.273,
    "s": 25.346,
    "l": 42.549
  },
  "oklch": {
    "l": 0.57961,
    "c": 0.07512,
    "h": 159
  },
  "luminance": 0.20398
}

Semantic roles & 50–950 ramp

primary
#51886A
secondary
#AC899C
accent
#6698C2
background
#F8FAF9
surface
#EFF4F1
border
#CACECB
text
#0B100D
muted
#7C7F7E

Preview Lab

Preview with #51886A

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

Preview Lab → · Contrast checker → · Palette generator →

#51886A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva