#51931D#51931D

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

Color values

HEX#51931D
RGBrgb(81, 147, 29)
HSLhsl(94, 67%, 35%)
HSVhsv(94, 80%, 58%)
CMYKcmyk(44.9%, 0%, 80.3%, 42.4%)
CIE-LABlab(54.77, -40.67, 51.34)
CIE-LCHlch(54.77, 65.49, 128.38°)
OKLaboklab(59.65% -0.1138 0.1138)
OKLCHoklch(59.65% 0.161 135)
XYZxyz(14.0485, 22.7047, 4.8043)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51931D #5F1D93
analogous
#8C931D #51931D #1D9324
triadic
#51931D #1D5193 #931D51
tetradic
#51931D #1D8C93 #5F1D93 #93241D
square
#51931D #1D8C93 #5F1D93 #93241D
split-complementary
#51931D #241D93 #931D8C
monochromatic
#192D09 #356013 #51931D #6DC627 #8DDC4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51931D#FFFFFF#000000##000000
##51931D1.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)
#90812A
Tritanopia (blue-blind)
#4F8D7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #51931d;
/* rgb */ color: rgb(81, 147, 29);
/* oklch */ color: oklch(59.7% 0.161 135.0);
Tailwind
colors: {
  custom: {
    50: '#88b364',
    500: '#51931d',
    950: '#000000',
  },
}
SCSS
$custom: #51931d;
$custom-light: #88b364;
$custom-dark: #000000;
JSON
{
  "hex": "#51931d",
  "rgb": {
    "r": 81,
    "g": 147,
    "b": 29
  },
  "hsl": {
    "h": 93.559,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59651,
    "c": 0.16093,
    "h": 135
  },
  "luminance": 0.22705
}

Semantic roles & 50–950 ramp

primary
#51931D
secondary
#8D4DBF
accent
#3EEA9E
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51931D

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

Preview Lab → · Contrast checker → · Palette generator →

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