#517022#517022

#517022 is a mid, moderate yellow-green. Relative luminance 0.135; OKLCH L 50.4% C 0.111 H 128.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#517022
RGBrgb(81, 112, 34)
HSLhsl(84, 53%, 29%)
HSVhsv(84, 70%, 44%)
CMYKcmyk(27.7%, 0%, 69.6%, 56.1%)
CIE-LABlab(43.44, -24.35, 38.23)
CIE-LCHlch(43.44, 45.32, 122.50°)
OKLaboklab(50.41% -0.0692 0.0871)
OKLCHoklch(50.41% 0.111 128.5)
XYZxyz(9.4762, 13.4529, 3.6105)
Luminance0.1345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517022 #412270
analogous
#706822 #517022 #2A7022
triadic
#517022 #225170 #702251
tetradic
#517022 #227068 #412270 #70222A
square
#517022 #227068 #412270 #70222A
split-complementary
#517022 #222A70 #682270
monochromatic
#111707 #2F4114 #517022 #739F30 #93C746

Accessibility & contrast

On white

5.69
#517022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#517022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517022
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517022#FFFFFF#000000##FFFFFF
##5170221.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766817
Deuteranopia (green-blind)
#716628
Tritanopia (blue-blind)
#546B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #517022;
/* rgb */ color: rgb(81, 112, 34);
/* oklch */ color: oklch(50.4% 0.111 128.5);
Tailwind
colors: {
  custom: {
    50: '#859962',
    500: '#517022',
    950: '#000000',
  },
}
SCSS
$custom: #517022;
$custom-light: #859962;
$custom-dark: #000000;
JSON
{
  "hex": "#517022",
  "rgb": {
    "r": 81,
    "g": 112,
    "b": 34
  },
  "hsl": {
    "h": 83.846,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50412,
    "c": 0.11119,
    "h": 128.5
  },
  "luminance": 0.13453
}

Semantic roles & 50–950 ramp

primary
#517022
secondary
#6E4AA3
accent
#4BDD85
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #517022

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

Preview Lab → · Contrast checker → · Palette generator →

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