#516722#516722

#516722 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.0% C 0.098 H 125.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#516722
RGBrgb(81, 103, 34)
HSLhsl(79, 50%, 27%)
HSVhsv(79, 67%, 40%)
CMYKcmyk(21.4%, 0%, 67%, 59.6%)
CIE-LABlab(40.52, -19.73, 35.11)
CIE-LCHlch(40.52, 40.27, 119.33°)
OKLaboklab(48.05% -0.0564 0.0805)
OKLCHoklch(48.05% 0.098 125)
XYZxyz(8.5324, 11.5652, 3.2959)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516722 #382267
analogous
#675B22 #516722 #2F6722
triadic
#516722 #225167 #672251
tetradic
#516722 #22675B #382267 #67222F
square
#516722 #22675B #382267 #67222F
split-complementary
#516722 #222F67 #5B2267
monochromatic
#121708 #2D3913 #516722 #759531 #99C143

Accessibility & contrast

On white

6.34
#516722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#516722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516722
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516722#FFFFFF#000000##FFFFFF
##5167221.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6019
Deuteranopia (green-blind)
#6A5F27
Tritanopia (blue-blind)
#556259
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #516722;
/* rgb */ color: rgb(81, 103, 34);
/* oklch */ color: oklch(48.0% 0.098 125.0);
Tailwind
colors: {
  custom: {
    50: '#849261',
    500: '#516722',
    950: '#000000',
  },
}
SCSS
$custom: #516722;
$custom-light: #849261;
$custom-dark: #000000;
JSON
{
  "hex": "#516722",
  "rgb": {
    "r": 81,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 79.13,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48046,
    "c": 0.09831,
    "h": 125
  },
  "luminance": 0.11565
}

Semantic roles & 50–950 ramp

primary
#516722
secondary
#644A9B
accent
#4EDA7B
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0B0D05
muted
#7C7D79

Preview Lab

Preview with #516722

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

Preview Lab → · Contrast checker → · Palette generator →

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