#51672E#51672E

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

Color values

HEX#51672E
RGBrgb(81, 103, 46)
HSLhsl(83, 38%, 29%)
HSVhsv(83, 55%, 40%)
CMYKcmyk(21.4%, 0%, 55.3%, 59.6%)
CIE-LABlab(40.65, -18.53, 29.19)
CIE-LCHlch(40.65, 34.57, 122.41°)
OKLaboklab(48.2% -0.0519 0.0692)
OKLCHoklch(48.2% 0.087 126.9)
XYZxyz(8.7367, 11.6470, 4.3720)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51672E #442E67
analogous
#67612E #51672E #35672E
triadic
#51672E #2E5167 #672E51
tetradic
#51672E #2E6761 #442E67 #672E35
square
#51672E #2E6761 #442E67 #672E35
split-complementary
#51672E #2E3567 #612E67
monochromatic
#111509 #303D1B #51672E #729141 #92B55A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51672E#FFFFFF#000000##FFFFFF
##51672E1.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)
#6C6129
Deuteranopia (green-blind)
#695F32
Tritanopia (blue-blind)
#54635A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #51672e;
/* rgb */ color: rgb(81, 103, 46);
/* oklch */ color: oklch(48.2% 0.086 126.9);
Tailwind
colors: {
  custom: {
    50: '#839268',
    500: '#51672e',
    950: '#000000',
  },
}
SCSS
$custom: #51672e;
$custom-light: #839268;
$custom-dark: #000000;
JSON
{
  "hex": "#51672e",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 46
  },
  "hsl": {
    "h": 83.158,
    "s": 38.255,
    "l": 29.216
  },
  "oklch": {
    "l": 0.48196,
    "c": 0.0865,
    "h": 126.9
  },
  "luminance": 0.11647
}

Semantic roles & 50–950 ramp

primary
#51672E
secondary
#715899
accent
#5ACE87
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #51672E

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

Preview Lab → · Contrast checker → · Palette generator →

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