#51995B#51995B

#51995B is a mid, moderate green. Relative luminance 0.253; OKLCH L 62.0% C 0.117 H 147.1°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#51995B
RGBrgb(81, 153, 91)
HSLhsl(128, 31%, 46%)
HSVhsv(128, 47%, 60%)
CMYKcmyk(47.1%, 0%, 40.5%, 40%)
CIE-LABlab(57.35, -36.29, 25.77)
CIE-LCHlch(57.35, 44.51, 144.62°)
OKLaboklab(61.98% -0.0986 0.0639)
OKLCHoklch(61.98% 0.118 147.1)
XYZxyz(16.6719, 25.2859, 13.8977)
Luminance0.2529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51995B #99518F
analogous
#6B9951 #51995B #51997F
triadic
#51995B #5B5199 #995B51
tetradic
#51995B #516B99 #99518F #997F51
square
#51995B #516B99 #99518F #997F51
split-complementary
#51995B #7F5199 #99516B
monochromatic
#27492B #3C7143 #51995B #73B57C #9BCAA1

Accessibility & contrast

On white

3.47
#51995B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#51995B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51995B
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51995B#FFFFFF#000000##000000
##51995B1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8E57
Deuteranopia (green-blind)
#90875F
Tritanopia (blue-blind)
#45968A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #51995b;
/* rgb */ color: rgb(81, 153, 91);
/* oklch */ color: oklch(62.0% 0.117 147.1);
Tailwind
colors: {
  custom: {
    50: '#86b78a',
    500: '#51995b',
    950: '#000000',
  },
}
SCSS
$custom: #51995b;
$custom-light: #86b78a;
$custom-dark: #000000;
JSON
{
  "hex": "#51995b",
  "rgb": {
    "r": 81,
    "g": 153,
    "b": 91
  },
  "hsl": {
    "h": 128.333,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.61983,
    "c": 0.1175,
    "h": 147.1
  },
  "luminance": 0.25287
}

Semantic roles & 50–950 ramp

primary
#51995B
secondary
#B78FB1
accent
#61B9C7
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0B110C
muted
#7C807D

Preview Lab

Preview with #51995B

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

Preview Lab → · Contrast checker → · Palette generator →

#51995B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva