#51961B#51961B

#51961B 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#51961B
RGBrgb(81, 150, 27)
HSLhsl(94, 69%, 35%)
HSVhsv(94, 82%, 59%)
CMYKcmyk(46%, 0%, 82%, 41.2%)
CIE-LABlab(55.73, -42.02, 52.84)
CIE-LCHlch(55.73, 67.51, 128.49°)
OKLaboklab(60.44% -0.1176 0.1166)
OKLCHoklch(60.44% 0.166 135.2)
XYZxyz(14.4972, 23.6403, 4.8358)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51961B #601B96
analogous
#8E961B #51961B #1B9623
triadic
#51961B #1B5196 #961B51
tetradic
#51961B #1B8E96 #601B96 #96231B
square
#51961B #1B8E96 #601B96 #96231B
split-complementary
#51961B #231B96 #961B8E
monochromatic
#192E08 #356212 #51961B #6DCA24 #8DDF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51961B#FFFFFF#000000##000000
##51961B1.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)
#93832A
Tritanopia (blue-blind)
#4F9080
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #51961b;
/* rgb */ color: rgb(81, 150, 27);
/* oklch */ color: oklch(60.4% 0.166 135.2);
Tailwind
colors: {
  custom: {
    50: '#89b563',
    500: '#51961b',
    950: '#000000',
  },
}
SCSS
$custom: #51961b;
$custom-light: #89b563;
$custom-dark: #000000;
JSON
{
  "hex": "#51961b",
  "rgb": {
    "r": 81,
    "g": 150,
    "b": 27
  },
  "hsl": {
    "h": 93.659,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60435,
    "c": 0.16559,
    "h": 135.2
  },
  "luminance": 0.23641
}

Semantic roles & 50–950 ramp

primary
#51961B
secondary
#8E4CC1
accent
#3BEC9F
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1106
muted
#7D807A

Preview Lab

Preview with #51961B

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

Preview Lab → · Contrast checker → · Palette generator →

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