#51941E#51941E

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

Color values

HEX#51941E
RGBrgb(81, 148, 30)
HSLhsl(94, 66%, 35%)
HSVhsv(94, 80%, 58%)
CMYKcmyk(45.3%, 0%, 79.7%, 42%)
CIE-LABlab(55.09, -41.03, 51.33)
CIE-LCHlch(55.09, 65.71, 128.63°)
OKLaboklab(59.92% -0.1147 0.1139)
OKLCHoklch(59.92% 0.162 135.2)
XYZxyz(14.2173, 23.0220, 4.9226)
Luminance0.2302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51941E #611E94
analogous
#8C941E #51941E #1E9426
triadic
#51941E #1E5194 #941E51
tetradic
#51941E #1E8C94 #611E94 #94261E
square
#51941E #1E8C94 #611E94 #94261E
split-complementary
#51941E #261E94 #941E8C
monochromatic
#192E09 #356114 #51941E #6DC728 #8DDC51

Accessibility & contrast

On white

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

On black

5.60
#51941E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51941E
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51941E#FFFFFF#000000##000000
##51941E1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51941e;
/* rgb */ color: rgb(81, 148, 30);
/* oklch */ color: oklch(59.9% 0.162 135.2);
Tailwind
colors: {
  custom: {
    50: '#88b464',
    500: '#51941e',
    950: '#000000',
  },
}
SCSS
$custom: #51941e;
$custom-light: #88b464;
$custom-dark: #000000;
JSON
{
  "hex": "#51941e",
  "rgb": {
    "r": 81,
    "g": 148,
    "b": 30
  },
  "hsl": {
    "h": 94.068,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59922,
    "c": 0.16167,
    "h": 135.2
  },
  "luminance": 0.23023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51941E

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

Preview Lab → · Contrast checker → · Palette generator →

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