#51691B#51691B

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

Color values

HEX#51691B
RGBrgb(81, 105, 27)
HSLhsl(78, 59%, 26%)
HSVhsv(78, 74%, 41%)
CMYKcmyk(22.9%, 0%, 74.3%, 58.8%)
CIE-LABlab(41.11, -21.31, 38.84)
CIE-LCHlch(41.11, 44.30, 118.75°)
OKLaboklab(48.51% -0.0615 0.0872)
OKLCHoklch(48.51% 0.107 125.2)
XYZxyz(8.6428, 11.9315, 2.8844)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51691B #331B69
analogous
#695A1B #51691B #2A691B
triadic
#51691B #1B5169 #691B51
tetradic
#51691B #1B695A #331B69 #691B2A
square
#51691B #1B695A #331B69 #691B2A
split-complementary
#51691B #1B2A69 #5A1B69
monochromatic
#131806 #2B380E #51691B #779A28 #9CCA34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51691B#FFFFFF#000000##FFFFFF
##51691B1.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)
#6F620E
Deuteranopia (green-blind)
#6C6122
Tritanopia (blue-blind)
#55645A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #51691b;
/* rgb */ color: rgb(81, 105, 27);
/* oklch */ color: oklch(48.5% 0.107 125.2);
Tailwind
colors: {
  custom: {
    50: '#84945d',
    500: '#51691b',
    950: '#000000',
  },
}
SCSS
$custom: #51691b;
$custom-light: #84945d;
$custom-dark: #000000;
JSON
{
  "hex": "#51691b",
  "rgb": {
    "r": 81,
    "g": 105,
    "b": 27
  },
  "hsl": {
    "h": 78.462,
    "s": 59.091,
    "l": 25.882
  },
  "oklch": {
    "l": 0.48505,
    "c": 0.10673,
    "h": 125.2
  },
  "luminance": 0.11932
}

Semantic roles & 50–950 ramp

primary
#51691B
secondary
#5E429E
accent
#46E276
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #51691B

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

Preview Lab → · Contrast checker → · Palette generator →

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