#516A2E#516A2E

#516A2E is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.0% C 0.091 H 128.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#516A2E
RGBrgb(81, 106, 46)
HSLhsl(85, 39%, 30%)
HSVhsv(85, 57%, 42%)
CMYKcmyk(23.6%, 0%, 56.6%, 58.4%)
CIE-LABlab(41.62, -20.11, 30.33)
CIE-LCHlch(41.62, 36.39, 123.55°)
OKLaboklab(48.98% -0.0563 0.0717)
OKLCHoklch(48.98% 0.091 128.2)
XYZxyz(9.0405, 12.2545, 4.4733)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A2E #472E6A
analogous
#6A652E #516A2E #336A2E
triadic
#516A2E #2E516A #6A2E51
tetradic
#516A2E #2E6A65 #472E6A #6A2E33
square
#516A2E #2E6A65 #472E6A #6A2E33
split-complementary
#516A2E #2E336A #652E6A
monochromatic
#101509 #303F1B #516A2E #729541 #91B85B

Accessibility & contrast

On white

6.09
#516A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#516A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A2E
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A2E#FFFFFF#000000##FFFFFF
##516A2E1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6328
Deuteranopia (green-blind)
#6B6232
Tritanopia (blue-blind)
#53665D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a2e;
/* rgb */ color: rgb(81, 106, 46);
/* oklch */ color: oklch(49.0% 0.091 128.2);
Tailwind
colors: {
  custom: {
    50: '#839469',
    500: '#516a2e',
    950: '#000000',
  },
}
SCSS
$custom: #516a2e;
$custom-light: #839469;
$custom-dark: #000000;
JSON
{
  "hex": "#516a2e",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 46
  },
  "hsl": {
    "h": 85,
    "s": 39.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48978,
    "c": 0.09117,
    "h": 128.2
  },
  "luminance": 0.12255
}

Semantic roles & 50–950 ramp

primary
#516A2E
secondary
#74589C
accent
#58CF8A
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516A2E

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

Preview Lab → · Contrast checker → · Palette generator →

#516A2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva