#51982F#51982F

#51982F is a mid, vivid green. Relative luminance 0.244; OKLCH L 61.1% C 0.156 H 137.3°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#51982F
RGBrgb(81, 152, 47)
HSLhsl(101, 53%, 39%)
HSVhsv(101, 69%, 60%)
CMYKcmyk(46.7%, 0%, 69.1%, 40.4%)
CIE-LABlab(56.50, -41.48, 46.42)
CIE-LCHlch(56.50, 62.25, 131.78°)
OKLaboklab(61.11% -0.1148 0.1061)
OKLCHoklch(61.11% 0.156 137.3)
XYZxyz(15.1342, 24.4101, 6.6029)
Luminance0.2441 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51982F #762F98
analogous
#86982F #51982F #2F9841
triadic
#51982F #2F5198 #982F51
tetradic
#51982F #2F8698 #762F98 #98412F
square
#51982F #2F8698 #762F98 #98412F
split-complementary
#51982F #412F98 #982F86
monochromatic
#1F3B12 #386921 #51982F #6BC440 #8FD26F

Accessibility & contrast

On white

3.57
#51982F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#51982F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51982F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51982F#FFFFFF#000000##000000
##51982F1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B20
Deuteranopia (green-blind)
#948538
Tritanopia (blue-blind)
#4D9383
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #51982f;
/* rgb */ color: rgb(81, 152, 47);
/* oklch */ color: oklch(61.1% 0.156 137.3);
Tailwind
colors: {
  custom: {
    50: '#88b76d',
    500: '#51982f',
    950: '#000000',
  },
}
SCSS
$custom: #51982f;
$custom-light: #88b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#51982f",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 100.571,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61107,
    "c": 0.15629,
    "h": 137.3
  },
  "luminance": 0.24411
}

Semantic roles & 50–950 ramp

primary
#51982F
secondary
#A069BA
accent
#4CDCAD
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #51982F

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

Preview Lab → · Contrast checker → · Palette generator →

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