#51661D#51661D

#51661D is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.7% C 0.101 H 124.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#51661D
RGBrgb(81, 102, 29)
HSLhsl(77, 56%, 26%)
HSVhsv(77, 72%, 40%)
CMYKcmyk(20.6%, 0%, 71.6%, 60%)
CIE-LABlab(40.15, -19.60, 37.01)
CIE-LCHlch(40.15, 41.88, 117.91°)
OKLaboklab(47.74% -0.0566 0.0837)
OKLCHoklch(47.74% 0.101 124.1)
XYZxyz(8.3666, 11.3407, 2.9104)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51661D #321D66
analogous
#66561D #51661D #2C661D
triadic
#51661D #1D5166 #661D51
tetradic
#51661D #1D6656 #321D66 #661D2C
square
#51661D #1D6656 #321D66 #661D2C
split-complementary
#51661D #1D2C66 #561D66
monochromatic
#131807 #2B360F #51661D #77962B #9DC538

Accessibility & contrast

On white

6.43
#51661D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#51661D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51661D
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51661D#FFFFFF#000000##FFFFFF
##51661D1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F12
Deuteranopia (green-blind)
#695E23
Tritanopia (blue-blind)
#556157
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #51661d;
/* rgb */ color: rgb(81, 102, 29);
/* oklch */ color: oklch(47.7% 0.101 124.1);
Tailwind
colors: {
  custom: {
    50: '#84915e',
    500: '#51661d',
    950: '#000000',
  },
}
SCSS
$custom: #51661d;
$custom-light: #84915e;
$custom-dark: #000000;
JSON
{
  "hex": "#51661d",
  "rgb": {
    "r": 81,
    "g": 102,
    "b": 29
  },
  "hsl": {
    "h": 77.26,
    "s": 55.725,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47735,
    "c": 0.10105,
    "h": 124.1
  },
  "luminance": 0.11341
}

Semantic roles & 50–950 ramp

primary
#51661D
secondary
#5D449B
accent
#49DF74
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #51661D

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

Preview Lab → · Contrast checker → · Palette generator →

#51661D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva