#51911F#51911F

#51911F is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.1% C 0.157 H 134.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#51911F
RGBrgb(81, 145, 31)
HSLhsl(94, 65%, 35%)
HSVhsv(94, 79%, 57%)
CMYKcmyk(44.1%, 0%, 78.6%, 43.1%)
CIE-LABlab(54.13, -39.71, 50.09)
CIE-LCHlch(54.13, 63.92, 128.41°)
OKLaboklab(59.13% -0.1111 0.1114)
OKLCHoklch(59.13% 0.157 134.9)
XYZxyz(13.7658, 22.0983, 4.8361)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51911F #5F1F91
analogous
#8A911F #51911F #1F9126
triadic
#51911F #1F5191 #911F51
tetradic
#51911F #1F8A91 #5F1F91 #91261F
square
#51911F #1F8A91 #5F1F91 #91261F
split-complementary
#51911F #261F91 #911F8A
monochromatic
#192C09 #355F14 #51911F #6DC32A #8DDA51

Accessibility & contrast

On white

3.87
#51911F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#51911F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51911F
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51911F#FFFFFF#000000##000000
##51911F1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978502
Deuteranopia (green-blind)
#8E802B
Tritanopia (blue-blind)
#4F8B7C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #51911f;
/* rgb */ color: rgb(81, 145, 31);
/* oklch */ color: oklch(59.1% 0.157 134.9);
Tailwind
colors: {
  custom: {
    50: '#88b264',
    500: '#51911f',
    950: '#000000',
  },
}
SCSS
$custom: #51911f;
$custom-light: #88b264;
$custom-dark: #000000;
JSON
{
  "hex": "#51911f",
  "rgb": {
    "r": 81,
    "g": 145,
    "b": 31
  },
  "hsl": {
    "h": 93.684,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59133,
    "c": 0.15738,
    "h": 134.9
  },
  "luminance": 0.22099
}

Semantic roles & 50–950 ramp

primary
#51911F
secondary
#8D4FBD
accent
#40E89E
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51911F

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

Preview Lab → · Contrast checker → · Palette generator →

#51911F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva