#51711E#51711E

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

Color values

HEX#51711E
RGBrgb(81, 113, 30)
HSLhsl(83, 58%, 28%)
HSVhsv(83, 73%, 44%)
CMYKcmyk(28.3%, 0%, 73.5%, 55.7%)
CIE-LABlab(43.73, -25.15, 40.25)
CIE-LCHlch(43.73, 47.46, 122.01°)
OKLaboklab(50.64% -0.0717 0.0907)
OKLCHoklch(50.64% 0.116 128.4)
XYZxyz(9.5328, 13.6531, 3.3611)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51711E #3E1E71
analogous
#71671E #51711E #27711E
triadic
#51711E #1E5171 #711E51
tetradic
#51711E #1E7167 #3E1E71 #711E27
square
#51711E #1E7167 #3E1E71 #711E27
split-complementary
#51711E #1E2771 #671E71
monochromatic
#111806 #2E4111 #51711E #74A12B #95CC3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51711E#FFFFFF#000000##FFFFFF
##51711E1.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)
#776911
Deuteranopia (green-blind)
#726725
Tritanopia (blue-blind)
#546C61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #51711e;
/* rgb */ color: rgb(81, 113, 30);
/* oklch */ color: oklch(50.6% 0.116 128.4);
Tailwind
colors: {
  custom: {
    50: '#859a5f',
    500: '#51711e',
    950: '#000000',
  },
}
SCSS
$custom: #51711e;
$custom-light: #859a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#51711e",
  "rgb": {
    "r": 81,
    "g": 113,
    "b": 30
  },
  "hsl": {
    "h": 83.133,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5064,
    "c": 0.11562,
    "h": 128.4
  },
  "luminance": 0.13653
}

Semantic roles & 50–950 ramp

primary
#51711E
secondary
#6A46A5
accent
#47E182
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #51711E

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

Preview Lab → · Contrast checker → · Palette generator →

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