#51982C#51982C

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

Color values

HEX#51982C
RGBrgb(81, 152, 44)
HSLhsl(99, 55%, 38%)
HSVhsv(99, 71%, 60%)
CMYKcmyk(46.7%, 0%, 71.1%, 40.4%)
CIE-LABlab(56.47, -41.73, 47.62)
CIE-LCHlch(56.47, 63.31, 131.23°)
OKLaboklab(61.08% -0.1157 0.1082)
OKLCHoklch(61.08% 0.158 136.9)
XYZxyz(15.0758, 24.3867, 6.2951)
Luminance0.2439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51982C #732C98
analogous
#87982C #51982C #2C983D
triadic
#51982C #2C5198 #982C51
tetradic
#51982C #2C8798 #732C98 #983D2C
square
#51982C #2C8798 #732C98 #983D2C
split-complementary
#51982C #3D2C98 #982C87
monochromatic
#1E3911 #38691E #51982C #6BC63B #8FD46A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51982C#FFFFFF#000000##000000
##51982C1.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)
#9D8B1B
Deuteranopia (green-blind)
#948536
Tritanopia (blue-blind)
#4D9283
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #51982c;
/* rgb */ color: rgb(81, 152, 44);
/* oklch */ color: oklch(61.1% 0.158 136.9);
Tailwind
colors: {
  custom: {
    50: '#88b76c',
    500: '#51982c',
    950: '#000000',
  },
}
SCSS
$custom: #51982c;
$custom-light: #88b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#51982c",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 44
  },
  "hsl": {
    "h": 99.444,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61081,
    "c": 0.15839,
    "h": 136.9
  },
  "luminance": 0.24388
}

Semantic roles & 50–950 ramp

primary
#51982C
secondary
#9D65BB
accent
#49DEAB
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0C1107
muted
#7D807A

Preview Lab

Preview with #51982C

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

Preview Lab → · Contrast checker → · Palette generator →

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