#51691C#51691C

#51691C is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.5% C 0.106 H 125.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#51691C
RGBrgb(81, 105, 28)
HSLhsl(79, 58%, 26%)
HSVhsv(79, 73%, 41%)
CMYKcmyk(22.9%, 0%, 73.3%, 58.8%)
CIE-LABlab(41.11, -21.24, 38.43)
CIE-LCHlch(41.11, 43.91, 118.93°)
OKLaboklab(48.51% -0.0612 0.0865)
OKLCHoklch(48.51% 0.106 125.3)
XYZxyz(8.6546, 11.9362, 2.9463)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51691C #341C69
analogous
#695A1C #51691C #2A691C
triadic
#51691C #1C5169 #691C51
tetradic
#51691C #1C695A #341C69 #691C2A
square
#51691C #1C695A #341C69 #691C2A
split-complementary
#51691C #1C2A69 #5A1C69
monochromatic
#131806 #2C390F #51691C #769929 #9BC936

Accessibility & contrast

On white

6.20
#51691C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#51691C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51691C
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51691C#FFFFFF#000000##FFFFFF
##51691C1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6210
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#55645A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #51691c;
/* rgb */ color: rgb(81, 105, 28);
/* oklch */ color: oklch(48.5% 0.106 125.3);
Tailwind
colors: {
  custom: {
    50: '#84945d',
    500: '#51691c',
    950: '#000000',
  },
}
SCSS
$custom: #51691c;
$custom-light: #84945d;
$custom-dark: #000000;
JSON
{
  "hex": "#51691c",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 28
  },
  "hsl": {
    "h": 78.701,
    "s": 57.895,
    "l": 26.078
  },
  "oklch": {
    "l": 0.48513,
    "c": 0.10599,
    "h": 125.3
  },
  "luminance": 0.11936
}

Semantic roles & 50–950 ramp

primary
#51691C
secondary
#5F439E
accent
#47E177
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #51691C

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

Preview Lab → · Contrast checker → · Palette generator →

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