#51661B#51661B

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

Color values

HEX#51661B
RGBrgb(81, 102, 27)
HSLhsl(77, 58%, 25%)
HSVhsv(77, 74%, 40%)
CMYKcmyk(20.6%, 0%, 73.5%, 60%)
CIE-LABlab(40.13, -19.74, 37.86)
CIE-LCHlch(40.13, 42.70, 117.54°)
OKLaboklab(47.72% -0.0572 0.0852)
OKLCHoklch(47.72% 0.103 123.9)
XYZxyz(8.3426, 11.3311, 2.7843)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51661B #301B66
analogous
#66551B #51661B #2B661B
triadic
#51661B #1B5166 #661B51
tetradic
#51661B #1B6655 #301B66 #661B2B
square
#51661B #1B6655 #301B66 #661B2B
split-complementary
#51661B #1B2B66 #551B66
monochromatic
#131806 #2B360E #51661B #779628 #9EC735

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51661B#FFFFFF#000000##FFFFFF
##51661B1.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)
#6C5F0F
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#556157
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #51661b;
/* rgb */ color: rgb(81, 102, 27);
/* oklch */ color: oklch(47.7% 0.103 123.9);
Tailwind
colors: {
  custom: {
    50: '#84915d',
    500: '#51661b',
    950: '#000000',
  },
}
SCSS
$custom: #51661b;
$custom-light: #84915d;
$custom-dark: #000000;
JSON
{
  "hex": "#51661b",
  "rgb": {
    "r": 81,
    "g": 102,
    "b": 27
  },
  "hsl": {
    "h": 76.8,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47717,
    "c": 0.10259,
    "h": 123.9
  },
  "luminance": 0.11331
}

Semantic roles & 50–950 ramp

primary
#51661B
secondary
#5B419B
accent
#46E172
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #51661B

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

Preview Lab → · Contrast checker → · Palette generator →

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