#51985F#51985F

#51985F is a mid, moderate green. Relative luminance 0.250; OKLCH L 61.8% C 0.112 H 148.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#51985F
RGBrgb(81, 152, 95)
HSLhsl(132, 30%, 46%)
HSVhsv(132, 47%, 60%)
CMYKcmyk(46.7%, 0%, 37.5%, 40.4%)
CIE-LABlab(57.11, -35.14, 23.27)
CIE-LCHlch(57.11, 42.15, 146.49°)
OKLaboklab(61.8% -0.0956 0.0581)
OKLCHoklch(61.8% 0.112 148.7)
XYZxyz(16.6861, 25.0308, 14.7764)
Luminance0.2503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51985F #98518A
analogous
#669851 #51985F #519882
triadic
#51985F #5F5198 #985F51
tetradic
#51985F #516698 #98518A #988251
square
#51985F #516698 #98518A #988251
split-complementary
#51985F #825198 #985166
monochromatic
#26482D #3C7046 #51985F #72B47F #9AC9A3

Accessibility & contrast

On white

3.50
#51985F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#51985F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51985F
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51985F#FFFFFF#000000##000000
##51985F1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998D5B
Deuteranopia (green-blind)
#8F8662
Tritanopia (blue-blind)
#45958A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #51985f;
/* rgb */ color: rgb(81, 152, 95);
/* oklch */ color: oklch(61.8% 0.112 148.7);
Tailwind
colors: {
  custom: {
    50: '#86b78d',
    500: '#51985f',
    950: '#000000',
  },
}
SCSS
$custom: #51985f;
$custom-light: #86b78d;
$custom-dark: #000000;
JSON
{
  "hex": "#51985f",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 95
  },
  "hsl": {
    "h": 131.831,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.61804,
    "c": 0.11183,
    "h": 148.7
  },
  "luminance": 0.25032
}

Semantic roles & 50–950 ramp

primary
#51985F
secondary
#B68FAE
accent
#61B3C7
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0B110C
muted
#7C807D

Preview Lab

Preview with #51985F

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

Preview Lab → · Contrast checker → · Palette generator →

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