#51995C#51995C

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

Color values

HEX#51995C
RGBrgb(81, 153, 92)
HSLhsl(129, 31%, 46%)
HSVhsv(129, 47%, 60%)
CMYKcmyk(47.1%, 0%, 39.9%, 40%)
CIE-LABlab(57.37, -36.12, 25.25)
CIE-LCHlch(57.37, 44.07, 145.04°)
OKLaboklab(62% -0.0982 0.0627)
OKLCHoklch(62% 0.116 147.4)
XYZxyz(16.7154, 25.3033, 14.1264)
Luminance0.2530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51995C #99518E
analogous
#6A9951 #51995C #519980
triadic
#51995C #5C5199 #995C51
tetradic
#51995C #516A99 #99518E #998051
square
#51995C #516A99 #99518E #998051
split-complementary
#51995C #805199 #99516A
monochromatic
#27492C #3C7144 #51995C #73B57D #9BCAA2

Accessibility & contrast

On white

3.46
#51995C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##51995C#FFFFFF#000000##000000
##51995C1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8E58
Deuteranopia (green-blind)
#908760
Tritanopia (blue-blind)
#45968A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #51995c;
/* rgb */ color: rgb(81, 153, 92);
/* oklch */ color: oklch(62.0% 0.116 147.4);
Tailwind
colors: {
  custom: {
    50: '#86b78b',
    500: '#51995c',
    950: '#000000',
  },
}
SCSS
$custom: #51995c;
$custom-light: #86b78b;
$custom-dark: #000000;
JSON
{
  "hex": "#51995c",
  "rgb": {
    "r": 81,
    "g": 153,
    "b": 92
  },
  "hsl": {
    "h": 129.167,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.62002,
    "c": 0.11647,
    "h": 147.4
  },
  "luminance": 0.25305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51995C

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

Preview Lab → · Contrast checker → · Palette generator →

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