#51671C#51671C

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

Color values

HEX#51671C
RGBrgb(81, 103, 28)
HSLhsl(78, 57%, 26%)
HSVhsv(78, 73%, 40%)
CMYKcmyk(21.4%, 0%, 72.8%, 59.6%)
CIE-LABlab(40.47, -20.20, 37.77)
CIE-LCHlch(40.47, 42.83, 118.14°)
OKLaboklab(47.99% -0.0583 0.0852)
OKLCHoklch(47.99% 0.103 124.4)
XYZxyz(8.4533, 11.5336, 2.8792)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51671C #321C67
analogous
#67571C #51671C #2B671C
triadic
#51671C #1C5167 #671C51
tetradic
#51671C #1C6757 #321C67 #671C2B
square
#51671C #1C6757 #321C67 #671C2B
split-complementary
#51671C #1C2B67 #571C67
monochromatic
#131807 #2B370F #51671C #779729 #9DC736

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51671C#FFFFFF#000000##FFFFFF
##51671C1.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)
#6D6010
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#556258
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #51671c;
/* rgb */ color: rgb(81, 103, 28);
/* oklch */ color: oklch(48.0% 0.103 124.4);
Tailwind
colors: {
  custom: {
    50: '#84925d',
    500: '#51671c',
    950: '#000000',
  },
}
SCSS
$custom: #51671c;
$custom-light: #84925d;
$custom-dark: #000000;
JSON
{
  "hex": "#51671c",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 77.6,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47988,
    "c": 0.10322,
    "h": 124.4
  },
  "luminance": 0.11534
}

Semantic roles & 50–950 ramp

primary
#51671C
secondary
#5D439C
accent
#47E174
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0D04
muted
#7C7D79

Preview Lab

Preview with #51671C

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

Preview Lab → · Contrast checker → · Palette generator →

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