#517223#517223

#517223 is a mid, moderate yellow-green. Relative luminance 0.139; OKLCH L 50.9% C 0.113 H 129.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#517223
RGBrgb(81, 114, 35)
HSLhsl(85, 53%, 29%)
HSVhsv(85, 69%, 45%)
CMYKcmyk(28.9%, 0%, 69.3%, 55.3%)
CIE-LABlab(44.10, -25.27, 38.48)
CIE-LCHlch(44.10, 46.03, 123.29°)
OKLaboklab(50.95% -0.0716 0.0877)
OKLCHoklch(50.95% 0.113 129.2)
XYZxyz(9.7140, 13.9051, 3.7619)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517223 #442372
analogous
#726C23 #517223 #2A7223
triadic
#517223 #235172 #722351
tetradic
#517223 #23726C #442372 #72232A
square
#517223 #23726C #442372 #72232A
split-complementary
#517223 #232A72 #6C2372
monochromatic
#111707 #304315 #517223 #72A131 #92C748

Accessibility & contrast

On white

5.55
#517223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#517223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517223
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517223#FFFFFF#000000##FFFFFF
##5172231.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A18
Deuteranopia (green-blind)
#736729
Tritanopia (blue-blind)
#536D62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #517223;
/* rgb */ color: rgb(81, 114, 35);
/* oklch */ color: oklch(50.9% 0.113 129.2);
Tailwind
colors: {
  custom: {
    50: '#859a62',
    500: '#517223',
    950: '#000000',
  },
}
SCSS
$custom: #517223;
$custom-light: #859a62;
$custom-dark: #000000;
JSON
{
  "hex": "#517223",
  "rgb": {
    "r": 81,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 85.063,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50949,
    "c": 0.11323,
    "h": 129.2
  },
  "luminance": 0.13905
}

Semantic roles & 50–950 ramp

primary
#517223
secondary
#714CA5
accent
#4BDC88
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #517223

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

Preview Lab → · Contrast checker → · Palette generator →

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