#51941D#51941D

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

Color values

HEX#51941D
RGBrgb(81, 148, 29)
HSLhsl(94, 67%, 35%)
HSVhsv(94, 80%, 58%)
CMYKcmyk(45.3%, 0%, 80.4%, 42%)
CIE-LABlab(55.09, -41.08, 51.64)
CIE-LCHlch(55.09, 65.99, 128.50°)
OKLaboklab(59.92% -0.115 0.1144)
OKLCHoklch(59.92% 0.162 135.1)
XYZxyz(14.2047, 23.0170, 4.8564)
Luminance0.2302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51941D #601D94
analogous
#8C941D #51941D #1D9425
triadic
#51941D #1D5194 #941D51
tetradic
#51941D #1D8C94 #601D94 #94251D
square
#51941D #1D8C94 #601D94 #94251D
split-complementary
#51941D #251D94 #941D8C
monochromatic
#192E09 #356113 #51941D #6DC727 #8DDC4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51941D#FFFFFF#000000##000000
##51941D1.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)
#91822A
Tritanopia (blue-blind)
#4F8E7E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #51941d;
/* rgb */ color: rgb(81, 148, 29);
/* oklch */ color: oklch(59.9% 0.162 135.1);
Tailwind
colors: {
  custom: {
    50: '#88b464',
    500: '#51941d',
    950: '#000000',
  },
}
SCSS
$custom: #51941d;
$custom-light: #88b464;
$custom-dark: #000000;
JSON
{
  "hex": "#51941d",
  "rgb": {
    "r": 81,
    "g": 148,
    "b": 29
  },
  "hsl": {
    "h": 93.782,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59916,
    "c": 0.16217,
    "h": 135.1
  },
  "luminance": 0.23018
}

Semantic roles & 50–950 ramp

primary
#51941D
secondary
#8E4EBF
accent
#3EEA9F
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51941D

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

Preview Lab → · Contrast checker → · Palette generator →

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