#51931E#51931E

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

Color values

HEX#51931E
RGBrgb(81, 147, 30)
HSLhsl(94, 66%, 35%)
HSVhsv(94, 80%, 58%)
CMYKcmyk(44.9%, 0%, 79.6%, 42.4%)
CIE-LABlab(54.77, -40.61, 51.02)
CIE-LCHlch(54.77, 65.21, 128.52°)
OKLaboklab(59.66% -0.1136 0.1132)
OKLCHoklch(59.66% 0.16 135.1)
XYZxyz(14.0611, 22.7097, 4.8705)
Luminance0.2271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51931E #601E93
analogous
#8C931E #51931E #1E9325
triadic
#51931E #1E5193 #931E51
tetradic
#51931E #1E8C93 #601E93 #93251E
square
#51931E #1E8C93 #601E93 #93251E
split-complementary
#51931E #251E93 #931E8C
monochromatic
#192D09 #356014 #51931E #6DC628 #8DDB50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #51931e;
/* rgb */ color: rgb(81, 147, 30);
/* oklch */ color: oklch(59.7% 0.160 135.1);
Tailwind
colors: {
  custom: {
    50: '#88b364',
    500: '#51931e',
    950: '#000000',
  },
}
SCSS
$custom: #51931e;
$custom-light: #88b364;
$custom-dark: #000000;
JSON
{
  "hex": "#51931e",
  "rgb": {
    "r": 81,
    "g": 147,
    "b": 30
  },
  "hsl": {
    "h": 93.846,
    "s": 66.102,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59657,
    "c": 0.16042,
    "h": 135.1
  },
  "luminance": 0.22711
}

Semantic roles & 50–950 ramp

primary
#51931E
secondary
#8E4FBE
accent
#3FE99F
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51931E

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

Preview Lab → · Contrast checker → · Palette generator →

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