#51711F#51711F

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

Color values

HEX#51711F
RGBrgb(81, 113, 31)
HSLhsl(83, 57%, 28%)
HSVhsv(83, 73%, 44%)
CMYKcmyk(28.3%, 0%, 72.6%, 55.7%)
CIE-LABlab(43.74, -25.08, 39.84)
CIE-LCHlch(43.74, 47.08, 122.19°)
OKLaboklab(50.65% -0.0715 0.09)
OKLCHoklch(50.65% 0.115 128.5)
XYZxyz(9.5458, 13.6583, 3.4294)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51711F #3F1F71
analogous
#71681F #51711F #28711F
triadic
#51711F #1F5171 #711F51
tetradic
#51711F #1F7168 #3F1F71 #711F28
square
#51711F #1F7168 #3F1F71 #711F28
split-complementary
#51711F #1F2871 #681F71
monochromatic
#111807 #2F4112 #51711F #73A12C #94CB40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #51711f;
/* rgb */ color: rgb(81, 113, 31);
/* oklch */ color: oklch(50.6% 0.115 128.5);
Tailwind
colors: {
  custom: {
    50: '#859a60',
    500: '#51711f',
    950: '#000000',
  },
}
SCSS
$custom: #51711f;
$custom-light: #859a60;
$custom-dark: #000000;
JSON
{
  "hex": "#51711f",
  "rgb": {
    "r": 81,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 83.415,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50648,
    "c": 0.1149,
    "h": 128.5
  },
  "luminance": 0.13659
}

Semantic roles & 50–950 ramp

primary
#51711F
secondary
#6C47A5
accent
#48E083
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #51711F

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

Preview Lab → · Contrast checker → · Palette generator →

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