#51711B#51711B

#51711B is a mid, moderate yellow-green. Relative luminance 0.136; OKLCH L 50.6% C 0.118 H 128.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#51711B
RGBrgb(81, 113, 27)
HSLhsl(82, 61%, 27%)
HSVhsv(82, 76%, 44%)
CMYKcmyk(28.3%, 0%, 76.1%, 55.7%)
CIE-LABlab(43.71, -25.36, 41.43)
CIE-LCHlch(43.71, 48.57, 121.47°)
OKLaboklab(50.62% -0.0726 0.0927)
OKLCHoklch(50.62% 0.118 128.1)
XYZxyz(9.4963, 13.6385, 3.1689)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51711B #3B1B71
analogous
#71661B #51711B #26711B
triadic
#51711B #1B5171 #711B51
tetradic
#51711B #1B7166 #3B1B71 #711B26
square
#51711B #1B7166 #3B1B71 #711B26
split-complementary
#51711B #1B2671 #661B71
monochromatic
#121906 #2E400F #51711B #74A227 #97CF37

Accessibility & contrast

On white

5.63
#51711B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#51711B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #51711B
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51711B#FFFFFF#000000##FFFFFF
##51711B1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690B
Deuteranopia (green-blind)
#726723
Tritanopia (blue-blind)
#546C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #51711b;
/* rgb */ color: rgb(81, 113, 27);
/* oklch */ color: oklch(50.6% 0.118 128.1);
Tailwind
colors: {
  custom: {
    50: '#859a5e',
    500: '#51711b',
    950: '#000000',
  },
}
SCSS
$custom: #51711b;
$custom-light: #859a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#51711b",
  "rgb": {
    "r": 81,
    "g": 113,
    "b": 27
  },
  "hsl": {
    "h": 82.326,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50615,
    "c": 0.1177,
    "h": 128.1
  },
  "luminance": 0.13639
}

Semantic roles & 50–950 ramp

primary
#51711B
secondary
#6742A6
accent
#43E57F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #51711B

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

Preview Lab → · Contrast checker → · Palette generator →

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