#51941C#51941C

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

Color values

HEX#51941C
RGBrgb(81, 148, 28)
HSLhsl(94, 68%, 35%)
HSVhsv(94, 81%, 58%)
CMYKcmyk(45.3%, 0%, 81.1%, 42%)
CIE-LABlab(55.08, -41.14, 51.95)
CIE-LCHlch(55.08, 66.26, 128.38°)
OKLaboklab(59.91% -0.1152 0.1149)
OKLCHoklch(59.91% 0.163 135.1)
XYZxyz(14.1925, 23.0121, 4.7923)
Luminance0.2301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51941C #5F1C94
analogous
#8D941C #51941C #1C9423
triadic
#51941C #1C5194 #941C51
tetradic
#51941C #1C8D94 #5F1C94 #94231C
square
#51941C #1C8D94 #5F1C94 #94231C
split-complementary
#51941C #231C94 #941C8D
monochromatic
#192D09 #356112 #51941C #6DC726 #8DDD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51941C#FFFFFF#000000##000000
##51941C1.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: #51941c;
/* rgb */ color: rgb(81, 148, 28);
/* oklch */ color: oklch(59.9% 0.163 135.1);
Tailwind
colors: {
  custom: {
    50: '#88b463',
    500: '#51941c',
    950: '#000000',
  },
}
SCSS
$custom: #51941c;
$custom-light: #88b463;
$custom-dark: #000000;
JSON
{
  "hex": "#51941c",
  "rgb": {
    "r": 81,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 93.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5991,
    "c": 0.16266,
    "h": 135.1
  },
  "luminance": 0.23013
}

Semantic roles & 50–950 ramp

primary
#51941C
secondary
#8D4CC0
accent
#3DEB9E
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51941C

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

Preview Lab → · Contrast checker → · Palette generator →

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