#51671E#51671E

#51671E is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 48.0% C 0.102 H 124.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#51671E
RGBrgb(81, 103, 30)
HSLhsl(78, 55%, 26%)
HSVhsv(78, 71%, 40%)
CMYKcmyk(21.4%, 0%, 70.9%, 59.6%)
CIE-LABlab(40.48, -20.05, 36.91)
CIE-LCHlch(40.48, 42.01, 118.51°)
OKLaboklab(48.01% -0.0577 0.0837)
OKLCHoklch(48.01% 0.102 124.6)
XYZxyz(8.4780, 11.5435, 3.0095)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51671E #341E67
analogous
#67581E #51671E #2C671E
triadic
#51671E #1E5167 #671E51
tetradic
#51671E #1E6758 #341E67 #671E2C
square
#51671E #1E6758 #341E67 #671E2C
split-complementary
#51671E #1E2C67 #581E67
monochromatic
#131807 #2C3810 #51671E #76962C #9BC63A

Accessibility & contrast

On white

6.35
#51671E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#51671E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51671E
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51671E#FFFFFF#000000##FFFFFF
##51671E1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6014
Deuteranopia (green-blind)
#6A5F24
Tritanopia (blue-blind)
#556258
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #51671e;
/* rgb */ color: rgb(81, 103, 30);
/* oklch */ color: oklch(48.0% 0.102 124.6);
Tailwind
colors: {
  custom: {
    50: '#84925e',
    500: '#51671e',
    950: '#000000',
  },
}
SCSS
$custom: #51671e;
$custom-light: #84925e;
$custom-dark: #000000;
JSON
{
  "hex": "#51671e",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 30
  },
  "hsl": {
    "h": 78.082,
    "s": 54.887,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48006,
    "c": 0.10166,
    "h": 124.6
  },
  "luminance": 0.11544
}

Semantic roles & 50–950 ramp

primary
#51671E
secondary
#5F459C
accent
#4ADE76
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0D05
muted
#7C7D79

Preview Lab

Preview with #51671E

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

Preview Lab → · Contrast checker → · Palette generator →

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