#51996F#51996F

#51996F is a light, moderate green. Relative luminance 0.257; OKLCH L 62.4% C 0.097 H 156.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#51996F
RGBrgb(81, 153, 111)
HSLhsl(145, 31%, 46%)
HSVhsv(145, 47%, 60%)
CMYKcmyk(47.1%, 0%, 27.5%, 40%)
CIE-LABlab(57.73, -32.53, 15.24)
CIE-LCHlch(57.73, 35.92, 154.90°)
OKLaboklab(62.42% -0.0892 0.0388)
OKLCHoklch(62.42% 0.097 156.5)
XYZxyz(17.6525, 25.6782, 19.0620)
Luminance0.2568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51996F #99517B
analogous
#579951 #51996F #519993
triadic
#51996F #6F5199 #996F51
tetradic
#51996F #515799 #99517B #999351
square
#51996F #515799 #99517B #999351
split-complementary
#51996F #935199 #995157
monochromatic
#274935 #3C7152 #51996F #73B58E #9BCAAE

Accessibility & contrast

On white

3.42
#51996F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#51996F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51996F
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51996F#FFFFFF#000000##000000
##51996F1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988F6D
Deuteranopia (green-blind)
#8D8872
Tritanopia (blue-blind)
#3F988E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #51996f;
/* rgb */ color: rgb(81, 153, 111);
/* oklch */ color: oklch(62.4% 0.097 156.5);
Tailwind
colors: {
  custom: {
    50: '#86b798',
    500: '#51996f',
    950: '#000000',
  },
}
SCSS
$custom: #51996f;
$custom-light: #86b798;
$custom-dark: #000000;
JSON
{
  "hex": "#51996f",
  "rgb": {
    "r": 81,
    "g": 153,
    "b": 111
  },
  "hsl": {
    "h": 145,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.62415,
    "c": 0.0973,
    "h": 156.5
  },
  "luminance": 0.25679
}

Semantic roles & 50–950 ramp

primary
#51996F
secondary
#B78FA6
accent
#619CC7
background
#F8FBF9
surface
#F0F6F2
border
#CBD0CC
text
#0B110D
muted
#7C807E

Preview Lab

Preview with #51996F

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

Preview Lab → · Contrast checker → · Palette generator →

#51996F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva