#51961E#51961E

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

Color values

HEX#51961E
RGBrgb(81, 150, 30)
HSLhsl(95, 67%, 35%)
HSVhsv(95, 80%, 59%)
CMYKcmyk(46%, 0%, 80%, 41.2%)
CIE-LABlab(55.74, -41.85, 51.94)
CIE-LCHlch(55.74, 66.70, 128.86°)
OKLaboklab(60.45% -0.117 0.1152)
OKLCHoklch(60.45% 0.164 135.4)
XYZxyz(14.5337, 23.6549, 5.0281)
Luminance0.2366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51961E #631E96
analogous
#8D961E #51961E #1E9627
triadic
#51961E #1E5196 #961E51
tetradic
#51961E #1E8D96 #631E96 #96271E
square
#51961E #1E8D96 #631E96 #96271E
split-complementary
#51961E #271E96 #961E8D
monochromatic
#1A300A #356314 #51961E #6DC928 #8DDC52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51961E#FFFFFF#000000##000000
##51961E1.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)
#93832C
Tritanopia (blue-blind)
#4F9080
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #51961e;
/* rgb */ color: rgb(81, 150, 30);
/* oklch */ color: oklch(60.5% 0.164 135.4);
Tailwind
colors: {
  custom: {
    50: '#89b564',
    500: '#51961e',
    950: '#000000',
  },
}
SCSS
$custom: #51961e;
$custom-light: #89b564;
$custom-dark: #000000;
JSON
{
  "hex": "#51961e",
  "rgb": {
    "r": 81,
    "g": 150,
    "b": 30
  },
  "hsl": {
    "h": 94.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60452,
    "c": 0.16415,
    "h": 135.4
  },
  "luminance": 0.23656
}

Semantic roles & 50–950 ramp

primary
#51961E
secondary
#9050BF
accent
#3EEAA1
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51961E

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

Preview Lab → · Contrast checker → · Palette generator →

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