#51711A#51711A

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

Color values

HEX#51711A
RGBrgb(81, 113, 26)
HSLhsl(82, 63%, 27%)
HSVhsv(82, 77%, 44%)
CMYKcmyk(28.3%, 0%, 77%, 55.7%)
CIE-LABlab(43.70, -25.42, 41.81)
CIE-LCHlch(43.70, 48.93, 121.30°)
OKLaboklab(50.61% -0.0728 0.0933)
OKLCHoklch(50.61% 0.118 128)
XYZxyz(9.4849, 13.6340, 3.1090)
Luminance0.1363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51711A #3A1A71
analogous
#71661A #51711A #26711A
triadic
#51711A #1A5171 #711A51
tetradic
#51711A #1A7166 #3A1A71 #711A26
square
#51711A #1A7166 #3A1A71 #711A26
split-complementary
#51711A #1A2671 #661A71
monochromatic
#121906 #2D3F0F #51711A #75A325 #97D035

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51711A#FFFFFF#000000##FFFFFF
##51711A1.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)
#776909
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#546C60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #51711a;
/* rgb */ color: rgb(81, 113, 26);
/* oklch */ color: oklch(50.6% 0.118 128.0);
Tailwind
colors: {
  custom: {
    50: '#859a5d',
    500: '#51711a',
    950: '#000000',
  },
}
SCSS
$custom: #51711a;
$custom-light: #859a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#51711a",
  "rgb": {
    "r": 81,
    "g": 113,
    "b": 26
  },
  "hsl": {
    "h": 82.069,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50608,
    "c": 0.11835,
    "h": 128
  },
  "luminance": 0.13634
}

Semantic roles & 50–950 ramp

primary
#51711A
secondary
#6641A6
accent
#42E67E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #51711A

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

Preview Lab → · Contrast checker → · Palette generator →

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