#51901A#51901A

#51901A is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 58.8% C 0.159 H 134.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#51901A
RGBrgb(81, 144, 26)
HSLhsl(92, 69%, 33%)
HSVhsv(92, 82%, 56%)
CMYKcmyk(43.8%, 0%, 81.9%, 43.5%)
CIE-LABlab(53.78, -39.57, 51.35)
CIE-LCHlch(53.78, 64.82, 127.62°)
OKLaboklab(58.84% -0.1111 0.1133)
OKLCHoklch(58.84% 0.159 134.4)
XYZxyz(13.5528, 21.7697, 4.4649)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51901A #591A90
analogous
#8C901A #51901A #1A901E
triadic
#51901A #1A5190 #901A51
tetradic
#51901A #1A8C90 #591A90 #901E1A
square
#51901A #1A8C90 #591A90 #901E1A
split-complementary
#51901A #1E1A90 #901A8C
monochromatic
#172807 #345C11 #51901A #6EC423 #8DDE47

Accessibility & contrast

On white

3.92
#51901A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#51901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51901A
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51901A#FFFFFF#000000##000000
##51901A1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8D7F28
Tritanopia (blue-blind)
#508A7B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #51901a;
/* rgb */ color: rgb(81, 144, 26);
/* oklch */ color: oklch(58.8% 0.159 134.4);
Tailwind
colors: {
  custom: {
    50: '#88b162',
    500: '#51901a',
    950: '#000000',
  },
}
SCSS
$custom: #51901a;
$custom-light: #88b162;
$custom-dark: #000000;
JSON
{
  "hex": "#51901a",
  "rgb": {
    "r": 81,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 92.034,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58838,
    "c": 0.15866,
    "h": 134.4
  },
  "luminance": 0.2177
}

Semantic roles & 50–950 ramp

primary
#51901A
secondary
#8747BF
accent
#3CEC9A
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51901A

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

Preview Lab → · Contrast checker → · Palette generator →

#51901A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva