#51611F#51611F

#51611F is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.4% C 0.092 H 121.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#51611F
RGBrgb(81, 97, 31)
HSLhsl(75, 52%, 25%)
HSVhsv(75, 68%, 38%)
CMYKcmyk(16.5%, 0%, 68%, 62%)
CIE-LABlab(38.55, -16.77, 34.41)
CIE-LCHlch(38.55, 38.28, 115.98°)
OKLaboklab(46.45% -0.0486 0.0786)
OKLCHoklch(46.45% 0.092 121.7)
XYZxyz(7.9154, 10.3976, 2.8860)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51611F #2F1F61
analogous
#61501F #51611F #30611F
triadic
#51611F #1F5161 #611F51
tetradic
#51611F #1F6150 #2F1F61 #611F30
square
#51611F #1F6150 #2F1F61 #611F30
split-complementary
#51611F #1F3061 #501F61
monochromatic
#131707 #2A3310 #51611F #788F2E #9EBE3D

Accessibility & contrast

On white

6.82
#51611F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#51611F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51611F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51611F#FFFFFF#000000##FFFFFF
##51611F1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B17
Deuteranopia (green-blind)
#655B24
Tritanopia (blue-blind)
#555C53
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #51611f;
/* rgb */ color: rgb(81, 97, 31);
/* oklch */ color: oklch(46.4% 0.092 121.7);
Tailwind
colors: {
  custom: {
    50: '#848e5e',
    500: '#51611f',
    950: '#000000',
  },
}
SCSS
$custom: #51611f;
$custom-light: #848e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#51611f",
  "rgb": {
    "r": 81,
    "g": 97,
    "b": 31
  },
  "hsl": {
    "h": 74.545,
    "s": 51.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46448,
    "c": 0.09236,
    "h": 121.7
  },
  "luminance": 0.10398
}

Semantic roles & 50–950 ramp

primary
#51611F
secondary
#594696
accent
#4DDB6F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #51611F

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

Preview Lab → · Contrast checker → · Palette generator →

#51611F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva