#51682E#51682E

#51682E is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.5% C 0.088 H 127.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#51682E
RGBrgb(81, 104, 46)
HSLhsl(84, 39%, 29%)
HSVhsv(84, 56%, 41%)
CMYKcmyk(22.1%, 0%, 55.8%, 59.2%)
CIE-LABlab(40.97, -19.06, 29.57)
CIE-LCHlch(40.97, 35.18, 122.80°)
OKLaboklab(48.46% -0.0534 0.07)
OKLCHoklch(48.46% 0.088 127.3)
XYZxyz(8.8368, 11.8471, 4.4054)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51682E #452E68
analogous
#68622E #51682E #34682E
triadic
#51682E #2E5168 #682E51
tetradic
#51682E #2E6862 #452E68 #682E34
square
#51682E #2E6862 #452E68 #682E34
split-complementary
#51682E #2E3468 #622E68
monochromatic
#111509 #303E1B #51682E #729241 #92B65A

Accessibility & contrast

On white

6.23
#51682E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#51682E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51682E
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51682E#FFFFFF#000000##FFFFFF
##51682E1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6229
Deuteranopia (green-blind)
#6A6032
Tritanopia (blue-blind)
#54645B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #51682e;
/* rgb */ color: rgb(81, 104, 46);
/* oklch */ color: oklch(48.5% 0.088 127.3);
Tailwind
colors: {
  custom: {
    50: '#839368',
    500: '#51682e',
    950: '#000000',
  },
}
SCSS
$custom: #51682e;
$custom-light: #839368;
$custom-dark: #000000;
JSON
{
  "hex": "#51682e",
  "rgb": {
    "r": 81,
    "g": 104,
    "b": 46
  },
  "hsl": {
    "h": 83.793,
    "s": 38.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.48457,
    "c": 0.08806,
    "h": 127.3
  },
  "luminance": 0.11847
}

Semantic roles & 50–950 ramp

primary
#51682E
secondary
#72589A
accent
#59CF88
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #51682E

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

Preview Lab → · Contrast checker → · Palette generator →

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