#51711D#51711D

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

Color values

HEX#51711D
RGBrgb(81, 113, 29)
HSLhsl(83, 59%, 28%)
HSVhsv(83, 74%, 44%)
CMYKcmyk(28.3%, 0%, 74.3%, 55.7%)
CIE-LABlab(43.72, -25.23, 40.65)
CIE-LCHlch(43.72, 47.84, 121.82°)
OKLaboklab(50.63% -0.072 0.0914)
OKLCHoklch(50.63% 0.116 128.3)
XYZxyz(9.5202, 13.6481, 3.2949)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51711D #3D1D71
analogous
#71671D #51711D #27711D
triadic
#51711D #1D5171 #711D51
tetradic
#51711D #1D7167 #3D1D71 #711D27
square
#51711D #1D7167 #3D1D71 #711D27
split-complementary
#51711D #1D2771 #671D71
monochromatic
#111806 #2E4011 #51711D #74A229 #95CD3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51711D#FFFFFF#000000##FFFFFF
##51711D1.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)
#77690F
Deuteranopia (green-blind)
#726724
Tritanopia (blue-blind)
#546C61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #51711d;
/* rgb */ color: rgb(81, 113, 29);
/* oklch */ color: oklch(50.6% 0.116 128.3);
Tailwind
colors: {
  custom: {
    50: '#859a5f',
    500: '#51711d',
    950: '#000000',
  },
}
SCSS
$custom: #51711d;
$custom-light: #859a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#51711d",
  "rgb": {
    "r": 81,
    "g": 113,
    "b": 29
  },
  "hsl": {
    "h": 82.857,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50631,
    "c": 0.11633,
    "h": 128.3
  },
  "luminance": 0.13648
}

Semantic roles & 50–950 ramp

primary
#51711D
secondary
#6944A5
accent
#45E281
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #51711D

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

Preview Lab → · Contrast checker → · Palette generator →

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