#51681D#51681D

#51681D is a mid, moderate yellow-green. Relative luminance 0.117; OKLCH L 48.3% C 0.104 H 124.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#51681D
RGBrgb(81, 104, 29)
HSLhsl(78, 56%, 26%)
HSVhsv(78, 72%, 41%)
CMYKcmyk(22.1%, 0%, 72.1%, 59.2%)
CIE-LABlab(40.80, -20.65, 37.68)
CIE-LCHlch(40.80, 42.96, 118.72°)
OKLaboklab(48.26% -0.0595 0.0851)
OKLCHoklch(48.26% 0.104 124.9)
XYZxyz(8.5655, 11.7386, 2.9767)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51681D #341D68
analogous
#68591D #51681D #2B681D
triadic
#51681D #1D5168 #681D51
tetradic
#51681D #1D6859 #341D68 #681D2B
square
#51681D #1D6859 #341D68 #681D2B
split-complementary
#51681D #1D2B68 #591D68
monochromatic
#131807 #2C3810 #51681D #76982A #9BC738

Accessibility & contrast

On white

6.27
#51681D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#51681D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51681D
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51681D#FFFFFF#000000##FFFFFF
##51681D1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6112
Deuteranopia (green-blind)
#6B6023
Tritanopia (blue-blind)
#556359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #51681d;
/* rgb */ color: rgb(81, 104, 29);
/* oklch */ color: oklch(48.3% 0.104 124.9);
Tailwind
colors: {
  custom: {
    50: '#84935e',
    500: '#51681d',
    950: '#000000',
  },
}
SCSS
$custom: #51681d;
$custom-light: #84935e;
$custom-dark: #000000;
JSON
{
  "hex": "#51681d",
  "rgb": {
    "r": 81,
    "g": 104,
    "b": 29
  },
  "hsl": {
    "h": 78.4,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48259,
    "c": 0.10384,
    "h": 124.9
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#51681D
secondary
#5F449D
accent
#48E077
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #51681D

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

Preview Lab → · Contrast checker → · Palette generator →

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