#51961A#51961A

#51961A is a mid, vivid yellow-green. Relative luminance 0.236; OKLCH L 60.4% C 0.166 H 135.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#51961A
RGBrgb(81, 150, 26)
HSLhsl(93, 70%, 35%)
HSVhsv(93, 83%, 59%)
CMYKcmyk(46%, 0%, 82.7%, 41.2%)
CIE-LABlab(55.72, -42.07, 53.12)
CIE-LCHlch(55.72, 67.76, 128.37°)
OKLaboklab(60.43% -0.1178 0.117)
OKLCHoklch(60.43% 0.166 135.2)
XYZxyz(14.4858, 23.6357, 4.7759)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51961A #5F1A96
analogous
#8F961A #51961A #1A9621
triadic
#51961A #1A5196 #961A51
tetradic
#51961A #1A8F96 #5F1A96 #96211A
square
#51961A #1A8F96 #5F1A96 #96211A
split-complementary
#51961A #211A96 #961A8F
monochromatic
#192E08 #356211 #51961A #6DCA23 #8DE04B

Accessibility & contrast

On white

3.67
#51961A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#51961A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51961A
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51961A#FFFFFF#000000##000000
##51961A1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#938329
Tritanopia (blue-blind)
#4F9080
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #51961a;
/* rgb */ color: rgb(81, 150, 26);
/* oklch */ color: oklch(60.4% 0.166 135.2);
Tailwind
colors: {
  custom: {
    50: '#89b563',
    500: '#51961a',
    950: '#000000',
  },
}
SCSS
$custom: #51961a;
$custom-light: #89b563;
$custom-dark: #000000;
JSON
{
  "hex": "#51961a",
  "rgb": {
    "r": 81,
    "g": 150,
    "b": 26
  },
  "hsl": {
    "h": 93.387,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.6043,
    "c": 0.16604,
    "h": 135.2
  },
  "luminance": 0.23637
}

Semantic roles & 50–950 ramp

primary
#51961A
secondary
#8D4AC2
accent
#3BED9E
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51961A

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

Preview Lab → · Contrast checker → · Palette generator →

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