#517331#517331

#517331 is a mid, moderate yellow-green. Relative luminance 0.142; OKLCH L 51.4% C 0.102 H 131.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#517331
RGBrgb(81, 115, 49)
HSLhsl(91, 40%, 32%)
HSVhsv(91, 57%, 45%)
CMYKcmyk(29.6%, 0%, 57.4%, 54.9%)
CIE-LABlab(44.56, -24.40, 32.23)
CIE-LCHlch(44.56, 40.42, 127.13°)
OKLaboklab(51.38% -0.0679 0.0761)
OKLCHoklch(51.38% 0.102 131.8)
XYZxyz(10.0783, 14.2323, 5.1212)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517331 #533173
analogous
#727331 #517331 #317332
triadic
#517331 #315173 #733151
tetradic
#517331 #317273 #533173 #733231
square
#517331 #317273 #533173 #733231
split-complementary
#517331 #323173 #733172
monochromatic
#151D0C #33481F #517331 #6F9E43 #8EBC62

Accessibility & contrast

On white

5.46
#517331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#517331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517331
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517331#FFFFFF#000000##FFFFFF
##5173311.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B2B
Deuteranopia (green-blind)
#736835
Tritanopia (blue-blind)
#526F64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #517331;
/* rgb */ color: rgb(81, 115, 49);
/* oklch */ color: oklch(51.4% 0.102 131.8);
Tailwind
colors: {
  custom: {
    50: '#849b6b',
    500: '#517331',
    950: '#000000',
  },
}
SCSS
$custom: #517331;
$custom-light: #849b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#517331",
  "rgb": {
    "r": 81,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 90.909,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.102,
    "h": 131.8
  },
  "luminance": 0.14233
}

Semantic roles & 50–950 ramp

primary
#517331
secondary
#815CA4
accent
#58D096
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #517331

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

Preview Lab → · Contrast checker → · Palette generator →

#517331 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva