#51972A#51972A

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

Color values

HEX#51972A
RGBrgb(81, 151, 42)
HSLhsl(99, 56%, 38%)
HSVhsv(99, 72%, 59%)
CMYKcmyk(46.4%, 0%, 72.2%, 40.8%)
CIE-LABlab(56.14, -41.47, 48.06)
CIE-LCHlch(56.14, 63.48, 130.79°)
OKLaboklab(60.8% -0.1151 0.1088)
OKLCHoklch(60.8% 0.158 136.6)
XYZxyz(14.8774, 24.0488, 6.0480)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51972A #702A97
analogous
#87972A #51972A #2A9739
triadic
#51972A #2A5197 #972A51
tetradic
#51972A #2A8797 #702A97 #97392A
square
#51972A #2A8797 #702A97 #97392A
split-complementary
#51972A #392A97 #972A87
monochromatic
#1E370F #37671D #51972A #6BC737 #8ED567

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51972A#FFFFFF#000000##000000
##51972A1.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)
#9C8A18
Deuteranopia (green-blind)
#938434
Tritanopia (blue-blind)
#4E9182
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #51972a;
/* rgb */ color: rgb(81, 151, 42);
/* oklch */ color: oklch(60.8% 0.158 136.6);
Tailwind
colors: {
  custom: {
    50: '#88b66a',
    500: '#51972a',
    950: '#000000',
  },
}
SCSS
$custom: #51972a;
$custom-light: #88b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#51972a",
  "rgb": {
    "r": 81,
    "g": 151,
    "b": 42
  },
  "hsl": {
    "h": 98.532,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.608,
    "c": 0.15843,
    "h": 136.6
  },
  "luminance": 0.2405
}

Semantic roles & 50–950 ramp

primary
#51972A
secondary
#9B62BB
accent
#48E0A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #51972A

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

Preview Lab → · Contrast checker → · Palette generator →

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