#51661A#51661A

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

Color values

HEX#51661A
RGBrgb(81, 102, 26)
HSLhsl(77, 59%, 25%)
HSVhsv(77, 75%, 40%)
CMYKcmyk(20.6%, 0%, 74.5%, 60%)
CIE-LABlab(40.13, -19.81, 38.27)
CIE-LCHlch(40.13, 43.10, 117.37°)
OKLaboklab(47.71% -0.0575 0.0859)
OKLCHoklch(47.71% 0.103 123.8)
XYZxyz(8.3312, 11.3266, 2.7244)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51661A #2F1A66
analogous
#66551A #51661A #2B661A
triadic
#51661A #1A5166 #661A51
tetradic
#51661A #1A6655 #2F1A66 #661A2B
square
#51661A #1A6655 #2F1A66 #661A2B
split-complementary
#51661A #1A2B66 #551A66
monochromatic
#131806 #2A350E #51661A #789726 #9EC833

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51661A#FFFFFF#000000##FFFFFF
##51661A1.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)
#6C5F0D
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#556157
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #51661a;
/* rgb */ color: rgb(81, 102, 26);
/* oklch */ color: oklch(47.7% 0.103 123.8);
Tailwind
colors: {
  custom: {
    50: '#84915c',
    500: '#51661a',
    950: '#000000',
  },
}
SCSS
$custom: #51661a;
$custom-light: #84915c;
$custom-dark: #000000;
JSON
{
  "hex": "#51661a",
  "rgb": {
    "r": 81,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 76.579,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47708,
    "c": 0.10332,
    "h": 123.8
  },
  "luminance": 0.11327
}

Semantic roles & 50–950 ramp

primary
#51661A
secondary
#59409C
accent
#45E371
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #51661A

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

Preview Lab → · Contrast checker → · Palette generator →

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