#51681E#51681E

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

Color values

HEX#51681E
RGBrgb(81, 104, 30)
HSLhsl(79, 55%, 26%)
HSVhsv(79, 71%, 41%)
CMYKcmyk(22.1%, 0%, 71.2%, 59.2%)
CIE-LABlab(40.81, -20.57, 37.25)
CIE-LCHlch(40.81, 42.55, 118.91°)
OKLaboklab(48.27% -0.0592 0.0844)
OKLCHoklch(48.27% 0.103 125)
XYZxyz(8.5780, 11.7436, 3.0429)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51681E #351E68
analogous
#685A1E #51681E #2C681E
triadic
#51681E #1E5168 #681E51
tetradic
#51681E #1E685A #351E68 #681E2C
square
#51681E #1E685A #351E68 #681E2C
split-complementary
#51681E #1E2C68 #5A1E68
monochromatic
#121807 #2C3910 #51681E #76982C #9BC63A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51681E#FFFFFF#000000##FFFFFF
##51681E1.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)
#6E6113
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#556359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #51681e;
/* rgb */ color: rgb(81, 104, 30);
/* oklch */ color: oklch(48.3% 0.103 125.0);
Tailwind
colors: {
  custom: {
    50: '#84935e',
    500: '#51681e',
    950: '#000000',
  },
}
SCSS
$custom: #51681e;
$custom-light: #84935e;
$custom-dark: #000000;
JSON
{
  "hex": "#51681e",
  "rgb": {
    "r": 81,
    "g": 104,
    "b": 30
  },
  "hsl": {
    "h": 78.649,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48269,
    "c": 0.10306,
    "h": 125
  },
  "luminance": 0.11744
}

Semantic roles & 50–950 ramp

primary
#51681E
secondary
#60459D
accent
#49DF78
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #51681E

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

Preview Lab → · Contrast checker → · Palette generator →

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