#51941F#51941F

#51941F is a mid, vivid yellow-green. Relative luminance 0.230; OKLCH L 59.9% C 0.161 H 135.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#51941F
RGBrgb(81, 148, 31)
HSLhsl(94, 65%, 35%)
HSVhsv(94, 79%, 58%)
CMYKcmyk(45.3%, 0%, 79.1%, 42%)
CIE-LABlab(55.10, -40.97, 51.01)
CIE-LCHlch(55.10, 65.43, 128.77°)
OKLaboklab(59.93% -0.1145 0.1134)
OKLCHoklch(59.93% 0.161 135.3)
XYZxyz(14.2302, 23.0272, 4.9909)
Luminance0.2303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51941F #621F94
analogous
#8B941F #51941F #1F9428
triadic
#51941F #1F5194 #941F51
tetradic
#51941F #1F8B94 #621F94 #94281F
square
#51941F #1F8B94 #621F94 #94281F
split-complementary
#51941F #281F94 #941F8B
monochromatic
#1A2F0A #356114 #51941F #6DC72A #8DDB53

Accessibility & contrast

On white

3.75
#51941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#51941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51941F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51941F#FFFFFF#000000##000000
##51941F1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#4F8E7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #51941f;
/* rgb */ color: rgb(81, 148, 31);
/* oklch */ color: oklch(59.9% 0.161 135.3);
Tailwind
colors: {
  custom: {
    50: '#88b465',
    500: '#51941f',
    950: '#000000',
  },
}
SCSS
$custom: #51941f;
$custom-light: #88b465;
$custom-dark: #000000;
JSON
{
  "hex": "#51941f",
  "rgb": {
    "r": 81,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 94.359,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59928,
    "c": 0.16115,
    "h": 135.3
  },
  "luminance": 0.23028
}

Semantic roles & 50–950 ramp

primary
#51941F
secondary
#8F51BE
accent
#3FE8A0
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51941F

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

Preview Lab → · Contrast checker → · Palette generator →

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