#517121#517121

#517121 is a mid, moderate yellow-green. Relative luminance 0.137; OKLCH L 50.7% C 0.113 H 128.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#517121
RGBrgb(81, 113, 33)
HSLhsl(84, 55%, 29%)
HSVhsv(84, 71%, 44%)
CMYKcmyk(28.3%, 0%, 70.8%, 55.7%)
CIE-LABlab(43.75, -24.93, 39.00)
CIE-LCHlch(43.75, 46.28, 122.59°)
OKLaboklab(50.67% -0.0709 0.0885)
OKLCHoklch(50.67% 0.113 128.7)
XYZxyz(9.5730, 13.6692, 3.5726)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517121 #412171
analogous
#716921 #517121 #297121
triadic
#517121 #215171 #712151
tetradic
#517121 #217169 #412171 #712129
square
#517121 #217169 #412171 #712129
split-complementary
#517121 #212971 #692171
monochromatic
#111807 #2F4213 #517121 #73A02F #93C844

Accessibility & contrast

On white

5.62
#517121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#517121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517121
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517121#FFFFFF#000000##FFFFFF
##5171211.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776915
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#546C61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #517121;
/* rgb */ color: rgb(81, 113, 33);
/* oklch */ color: oklch(50.7% 0.113 128.7);
Tailwind
colors: {
  custom: {
    50: '#859a61',
    500: '#517121',
    950: '#000000',
  },
}
SCSS
$custom: #517121;
$custom-light: #859a61;
$custom-dark: #000000;
JSON
{
  "hex": "#517121",
  "rgb": {
    "r": 81,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 84,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50666,
    "c": 0.11339,
    "h": 128.7
  },
  "luminance": 0.13669
}

Semantic roles & 50–950 ramp

primary
#517121
secondary
#6E49A5
accent
#4ADE85
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #517121

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

Preview Lab → · Contrast checker → · Palette generator →

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