#51972B#51972B

#51972B is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 60.8% C 0.158 H 136.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#51972B
RGBrgb(81, 151, 43)
HSLhsl(99, 56%, 38%)
HSVhsv(99, 72%, 59%)
CMYKcmyk(46.4%, 0%, 71.5%, 40.8%)
CIE-LABlab(56.14, -41.39, 47.68)
CIE-LCHlch(56.14, 63.14, 130.96°)
OKLaboklab(60.81% -0.1148 0.1082)
OKLCHoklch(60.81% 0.158 136.7)
XYZxyz(14.8956, 24.0560, 6.1434)
Luminance0.2406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51972B #712B97
analogous
#87972B #51972B #2B973B
triadic
#51972B #2B5197 #972B51
tetradic
#51972B #2B8797 #712B97 #973B2B
square
#51972B #2B8797 #712B97 #973B2B
split-complementary
#51972B #3B2B97 #972B87
monochromatic
#1E3810 #37671D #51972B #6BC739 #8ED468

Accessibility & contrast

On white

3.61
#51972B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#51972B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51972B
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51972B#FFFFFF#000000##000000
##51972B1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A1A
Deuteranopia (green-blind)
#938435
Tritanopia (blue-blind)
#4E9182
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #51972b;
/* rgb */ color: rgb(81, 151, 43);
/* oklch */ color: oklch(60.8% 0.158 136.7);
Tailwind
colors: {
  custom: {
    50: '#88b66b',
    500: '#51972b',
    950: '#000000',
  },
}
SCSS
$custom: #51972b;
$custom-light: #88b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#51972b",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 43
  },
  "hsl": {
    "h": 98.889,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60809,
    "c": 0.15776,
    "h": 136.7
  },
  "luminance": 0.24057
}

Semantic roles & 50–950 ramp

primary
#51972B
secondary
#9C63BB
accent
#49DFAA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #51972B

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

Preview Lab → · Contrast checker → · Palette generator →

#51972B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva