#51961D#51961D

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

Color values

HEX#51961D
RGBrgb(81, 150, 29)
HSLhsl(94, 68%, 35%)
HSVhsv(94, 81%, 59%)
CMYKcmyk(46%, 0%, 80.7%, 41.2%)
CIE-LABlab(55.74, -41.91, 52.24)
CIE-LCHlch(55.74, 66.98, 128.74°)
OKLaboklab(60.45% -0.1172 0.1157)
OKLCHoklch(60.45% 0.165 135.4)
XYZxyz(14.5211, 23.6498, 4.9619)
Luminance0.2365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51961D #621D96
analogous
#8D961D #51961D #1D9626
triadic
#51961D #1D5196 #961D51
tetradic
#51961D #1D8D96 #621D96 #96261D
square
#51961D #1D8D96 #621D96 #96261D
split-complementary
#51961D #261D96 #961D8D
monochromatic
#1A2F09 #356313 #51961D #6DC927 #8DDD50

Accessibility & contrast

On white

3.66
#51961D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##51961D#FFFFFF#000000##000000
##51961D1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#93832B
Tritanopia (blue-blind)
#4F9080
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #51961d;
/* rgb */ color: rgb(81, 150, 29);
/* oklch */ color: oklch(60.4% 0.165 135.4);
Tailwind
colors: {
  custom: {
    50: '#89b564',
    500: '#51961d',
    950: '#000000',
  },
}
SCSS
$custom: #51961d;
$custom-light: #89b564;
$custom-dark: #000000;
JSON
{
  "hex": "#51961d",
  "rgb": {
    "r": 81,
    "g": 150,
    "b": 29
  },
  "hsl": {
    "h": 94.215,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60446,
    "c": 0.16464,
    "h": 135.4
  },
  "luminance": 0.23651
}

Semantic roles & 50–950 ramp

primary
#51961D
secondary
#8F4FC0
accent
#3DEAA0
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51961D

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

Preview Lab → · Contrast checker → · Palette generator →

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