#51982A#51982A

#51982A is a mid, vivid yellow-green. Relative luminance 0.244; OKLCH L 61.1% C 0.160 H 136.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#51982A
RGBrgb(81, 152, 42)
HSLhsl(99, 57%, 38%)
HSVhsv(99, 72%, 60%)
CMYKcmyk(46.7%, 0%, 72.4%, 40.4%)
CIE-LABlab(56.46, -41.88, 48.39)
CIE-LCHlch(56.46, 64.00, 130.88°)
OKLaboklab(61.06% -0.1162 0.1095)
OKLCHoklch(61.06% 0.16 136.7)
XYZxyz(15.0391, 24.3720, 6.1019)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51982A #712A98
analogous
#88982A #51982A #2A983A
triadic
#51982A #2A5198 #982A51
tetradic
#51982A #2A8898 #712A98 #983A2A
square
#51982A #2A8898 #712A98 #983A2A
split-complementary
#51982A #3A2A98 #982A88
monochromatic
#1E3810 #37681D #51982A #6BC837 #8ED567

Accessibility & contrast

On white

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

On black

5.87
#51982A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51982A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51982A#FFFFFF#000000##000000
##51982A1.003.575.875.87
#FFFFFF3.571.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B18
Deuteranopia (green-blind)
#948534
Tritanopia (blue-blind)
#4D9282
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #51982a;
/* rgb */ color: rgb(81, 152, 42);
/* oklch */ color: oklch(61.1% 0.160 136.7);
Tailwind
colors: {
  custom: {
    50: '#88b76b',
    500: '#51982a',
    950: '#000000',
  },
}
SCSS
$custom: #51982a;
$custom-light: #88b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#51982a",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 98.727,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61064,
    "c": 0.15972,
    "h": 136.7
  },
  "luminance": 0.24373
}

Semantic roles & 50–950 ramp

primary
#51982A
secondary
#9C62BB
accent
#48E0AA
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #51982A

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

Preview Lab → · Contrast checker → · Palette generator →

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