#51985D#51985D

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

Color values

HEX#51985D
RGBrgb(81, 152, 93)
HSLhsl(130, 30%, 46%)
HSVhsv(130, 47%, 60%)
CMYKcmyk(46.7%, 0%, 38.8%, 40.4%)
CIE-LABlab(57.07, -35.49, 24.31)
CIE-LCHlch(57.07, 43.02, 145.59°)
OKLaboklab(61.76% -0.0965 0.0605)
OKLCHoklch(61.76% 0.114 147.9)
XYZxyz(16.5964, 24.9949, 14.3038)
Luminance0.2500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51985D #98518C
analogous
#689851 #51985D #519880
triadic
#51985D #5D5198 #985D51
tetradic
#51985D #516898 #98518C #988051
square
#51985D #516898 #98518C #988051
split-complementary
#51985D #805198 #985168
monochromatic
#26482C #3C7045 #51985D #72B47D #9AC9A2

Accessibility & contrast

On white

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

On black

6.00
#51985D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51985D
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51985D#FFFFFF#000000##000000
##51985D1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998D59
Deuteranopia (green-blind)
#8F8661
Tritanopia (blue-blind)
#459589
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #51985d;
/* rgb */ color: rgb(81, 152, 93);
/* oklch */ color: oklch(61.8% 0.114 147.9);
Tailwind
colors: {
  custom: {
    50: '#86b78b',
    500: '#51985d',
    950: '#000000',
  },
}
SCSS
$custom: #51985d;
$custom-light: #86b78b;
$custom-dark: #000000;
JSON
{
  "hex": "#51985d",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 93
  },
  "hsl": {
    "h": 130.141,
    "s": 30.472,
    "l": 45.686
  },
  "oklch": {
    "l": 0.61764,
    "c": 0.11389,
    "h": 147.9
  },
  "luminance": 0.24996
}

Semantic roles & 50–950 ramp

primary
#51985D
secondary
#B68FAF
accent
#61B6C7
background
#F8FBF8
surface
#F0F6F0
border
#CBD0CB
text
#0B110C
muted
#7C807D

Preview Lab

Preview with #51985D

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

Preview Lab → · Contrast checker → · Palette generator →

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