#51672C#51672C

#51672C is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.2% C 0.089 H 126.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#51672C
RGBrgb(81, 103, 44)
HSLhsl(82, 40%, 29%)
HSVhsv(82, 57%, 40%)
CMYKcmyk(21.4%, 0%, 57.3%, 59.6%)
CIE-LABlab(40.62, -18.75, 30.22)
CIE-LCHlch(40.62, 35.56, 121.82°)
OKLaboklab(48.17% -0.0527 0.0712)
OKLCHoklch(48.17% 0.089 126.5)
XYZxyz(8.6982, 11.6316, 4.1692)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51672C #422C67
analogous
#67602C #51672C #34672C
triadic
#51672C #2C5167 #672C51
tetradic
#51672C #2C6760 #422C67 #672C34
square
#51672C #2C6760 #422C67 #672C34
split-complementary
#51672C #2C3467 #602C67
monochromatic
#111509 #2F3C1A #51672C #73923E #93B756

Accessibility & contrast

On white

6.31
#51672C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#51672C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51672C
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51672C#FFFFFF#000000##FFFFFF
##51672C1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6126
Deuteranopia (green-blind)
#695F30
Tritanopia (blue-blind)
#54635A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #51672c;
/* rgb */ color: rgb(81, 103, 44);
/* oklch */ color: oklch(48.2% 0.089 126.5);
Tailwind
colors: {
  custom: {
    50: '#839267',
    500: '#51672c',
    950: '#000000',
  },
}
SCSS
$custom: #51672c;
$custom-light: #839267;
$custom-dark: #000000;
JSON
{
  "hex": "#51672c",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 44
  },
  "hsl": {
    "h": 82.373,
    "s": 40.136,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48168,
    "c": 0.08863,
    "h": 126.5
  },
  "luminance": 0.11632
}

Semantic roles & 50–950 ramp

primary
#51672C
secondary
#6F5699
accent
#58D085
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #51672C

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

Preview Lab → · Contrast checker → · Palette generator →

#51672C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva