#51865D#51865D

#51865D is a mid, moderate green. Relative luminance 0.196; OKLCH L 57.1% C 0.085 H 150.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#51865D
RGBrgb(81, 134, 93)
HSLhsl(134, 25%, 42%)
HSVhsv(134, 40%, 53%)
CMYKcmyk(39.6%, 0%, 30.6%, 47.5%)
CIE-LABlab(51.37, -27.00, 16.66)
CIE-LCHlch(51.37, 31.73, 148.31°)
OKLaboklab(57.13% -0.0738 0.0422)
OKLCHoklch(57.13% 0.085 150.2)
XYZxyz(13.8934, 19.5890, 13.4028)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51865D #86517A
analogous
#608651 #51865D #518678
triadic
#51865D #5D5186 #865D51
tetradic
#51865D #516086 #86517A #867851
square
#51865D #516086 #86517A #867851
split-complementary
#51865D #785186 #865160
monochromatic
#233A28 #3A6043 #51865D #6DA77A #93BE9D

Accessibility & contrast

On white

4.27
#51865D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#51865D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51865D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51865D#FFFFFF#000000##000000
##51865D1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877E5A
Deuteranopia (green-blind)
#7F785F
Tritanopia (blue-blind)
#48847B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #51865d;
/* rgb */ color: rgb(81, 134, 93);
/* oklch */ color: oklch(57.1% 0.085 150.2);
Tailwind
colors: {
  custom: {
    50: '#84a98b',
    500: '#51865d',
    950: '#000000',
  },
}
SCSS
$custom: #51865d;
$custom-light: #84a98b;
$custom-dark: #000000;
JSON
{
  "hex": "#51865d",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 93
  },
  "hsl": {
    "h": 133.585,
    "s": 24.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.57127,
    "c": 0.08498,
    "h": 150.2
  },
  "luminance": 0.1959
}

Semantic roles & 50–950 ramp

primary
#51865D
secondary
#AB88A3
accent
#67ADC1
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B100C
muted
#7C7F7D

Preview Lab

Preview with #51865D

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

Preview Lab → · Contrast checker → · Palette generator →

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