#51915F#51915F

#51915F is a mid, moderate green. Relative luminance 0.228; OKLCH L 60.0% C 0.101 H 149.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#51915F
RGBrgb(81, 145, 95)
HSLhsl(133, 28%, 44%)
HSVhsv(133, 44%, 57%)
CMYKcmyk(44.1%, 0%, 34.5%, 43.1%)
CIE-LABlab(54.89, -31.91, 20.31)
CIE-LCHlch(54.89, 37.82, 147.52°)
OKLaboklab(60% -0.0869 0.051)
OKLCHoklch(60% 0.101 149.6)
XYZxyz(15.5834, 22.8253, 14.4088)
Luminance0.2283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51915F #915183
analogous
#639151 #51915F #51917F
triadic
#51915F #5F5191 #915F51
tetradic
#51915F #516391 #915183 #917F51
square
#51915F #516391 #915183 #917F51
split-complementary
#51915F #7F5191 #915163
monochromatic
#25422C #3B6A45 #51915F #70AF7E #97C5A1

Accessibility & contrast

On white

3.77
#51915F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#51915F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51915F
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51915F#FFFFFF#000000##000000
##51915F1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92875C
Deuteranopia (green-blind)
#888162
Tritanopia (blue-blind)
#468F84
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #51915f;
/* rgb */ color: rgb(81, 145, 95);
/* oklch */ color: oklch(60.0% 0.101 149.6);
Tailwind
colors: {
  custom: {
    50: '#85b18c',
    500: '#51915f',
    950: '#000000',
  },
}
SCSS
$custom: #51915f;
$custom-light: #85b18c;
$custom-dark: #000000;
JSON
{
  "hex": "#51915f",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 95
  },
  "hsl": {
    "h": 133.125,
    "s": 28.319,
    "l": 44.314
  },
  "oklch": {
    "l": 0.60001,
    "c": 0.1008,
    "h": 149.6
  },
  "luminance": 0.22826
}

Semantic roles & 50–950 ramp

primary
#51915F
secondary
#B28CAA
accent
#63AFC5
background
#F8FBF8
surface
#EFF6F0
border
#CAD0CB
text
#0B110C
muted
#7C807D

Preview Lab

Preview with #51915F

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

Preview Lab → · Contrast checker → · Palette generator →

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