#51931A#51931A

#51931A is a mid, vivid yellow-green. Relative luminance 0.227; OKLCH L 59.6% C 0.162 H 134.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#51931A
RGBrgb(81, 147, 26)
HSLhsl(93, 70%, 34%)
HSVhsv(93, 82%, 58%)
CMYKcmyk(44.9%, 0%, 82.3%, 42.4%)
CIE-LABlab(54.75, -40.82, 52.24)
CIE-LCHlch(54.75, 66.30, 128.01°)
OKLaboklab(59.63% -0.1144 0.1152)
OKLCHoklch(59.63% 0.162 134.8)
XYZxyz(14.0132, 22.6905, 4.6184)
Luminance0.2269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51931A #5C1A93
analogous
#8E931A #51931A #1A9320
triadic
#51931A #1A5193 #931A51
tetradic
#51931A #1A8E93 #5C1A93 #93201A
square
#51931A #1A8E93 #5C1A93 #93201A
split-complementary
#51931A #201A93 #931A8E
monochromatic
#182B08 #345F11 #51931A #6EC723 #8DDF49

Accessibility & contrast

On white

3.79
#51931A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#51931A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51931A
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51931A#FFFFFF#000000##000000
##51931A1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#4F8D7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #51931a;
/* rgb */ color: rgb(81, 147, 26);
/* oklch */ color: oklch(59.6% 0.162 134.8);
Tailwind
colors: {
  custom: {
    50: '#88b362',
    500: '#51931a',
    950: '#000000',
  },
}
SCSS
$custom: #51931a;
$custom-light: #88b362;
$custom-dark: #000000;
JSON
{
  "hex": "#51931a",
  "rgb": {
    "r": 81,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 92.727,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59634,
    "c": 0.16237,
    "h": 134.8
  },
  "luminance": 0.22691
}

Semantic roles & 50–950 ramp

primary
#51931A
secondary
#8A48C0
accent
#3BED9C
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51931A

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

Preview Lab → · Contrast checker → · Palette generator →

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