#51651A#51651A

#51651A is a mid, moderate yellow-green. Relative luminance 0.111; OKLCH L 47.4% C 0.102 H 123.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#51651A
RGBrgb(81, 101, 26)
HSLhsl(76, 59%, 25%)
HSVhsv(76, 74%, 40%)
CMYKcmyk(19.8%, 0%, 74.3%, 60.4%)
CIE-LABlab(39.80, -19.28, 37.94)
CIE-LCHlch(39.80, 42.56, 116.94°)
OKLaboklab(47.45% -0.056 0.0852)
OKLCHoklch(47.45% 0.102 123.3)
XYZxyz(8.2336, 11.1312, 2.6919)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51651A #2E1A65
analogous
#65541A #51651A #2C651A
triadic
#51651A #1A5165 #651A51
tetradic
#51651A #1A6554 #2E1A65 #651A2C
square
#51651A #1A6554 #2E1A65 #651A2C
split-complementary
#51651A #1A2C65 #541A65
monochromatic
#141806 #2A340D #51651A #789627 #9FC633

Accessibility & contrast

On white

6.51
#51651A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#51651A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51651A
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51651A#FFFFFF#000000##FFFFFF
##51651A1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E0E
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#556056
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #51651a;
/* rgb */ color: rgb(81, 101, 26);
/* oklch */ color: oklch(47.4% 0.102 123.3);
Tailwind
colors: {
  custom: {
    50: '#84915c',
    500: '#51651a',
    950: '#000000',
  },
}
SCSS
$custom: #51651a;
$custom-light: #84915c;
$custom-dark: #000000;
JSON
{
  "hex": "#51651a",
  "rgb": {
    "r": 81,
    "g": 101,
    "b": 26
  },
  "hsl": {
    "h": 76,
    "s": 59.055,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47446,
    "c": 0.10196,
    "h": 123.3
  },
  "luminance": 0.11131
}

Semantic roles & 50–950 ramp

primary
#51651A
secondary
#58409B
accent
#46E26F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #51651A

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

Preview Lab → · Contrast checker → · Palette generator →

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