#516A25#516A25

#516A25 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.9% C 0.100 H 126.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#516A25
RGBrgb(81, 106, 37)
HSLhsl(82, 48%, 28%)
HSVhsv(82, 65%, 42%)
CMYKcmyk(23.6%, 0%, 65.1%, 58.4%)
CIE-LABlab(41.52, -21.03, 34.77)
CIE-LCHlch(41.52, 40.63, 121.17°)
OKLaboklab(48.86% -0.0597 0.0802)
OKLCHoklch(48.86% 0.1 126.7)
XYZxyz(8.8813, 12.1908, 3.6351)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A25 #3E256A
analogous
#6A6025 #516A25 #2E6A25
triadic
#516A25 #25516A #6A2551
tetradic
#516A25 #256A60 #3E256A #6A252E
square
#516A25 #256A60 #3E256A #6A252E
split-complementary
#516A25 #252E6A #60256A
monochromatic
#111708 #2E3D15 #516A25 #749735 #95C04A

Accessibility & contrast

On white

6.11
#516A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#516A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A25
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A25#FFFFFF#000000##FFFFFF
##516A251.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F631D
Deuteranopia (green-blind)
#6C622A
Tritanopia (blue-blind)
#54655B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a25;
/* rgb */ color: rgb(81, 106, 37);
/* oklch */ color: oklch(48.9% 0.100 126.7);
Tailwind
colors: {
  custom: {
    50: '#849463',
    500: '#516a25',
    950: '#000000',
  },
}
SCSS
$custom: #516a25;
$custom-light: #849463;
$custom-dark: #000000;
JSON
{
  "hex": "#516a25",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 37
  },
  "hsl": {
    "h": 81.739,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48865,
    "c": 0.09999,
    "h": 126.7
  },
  "luminance": 0.12191
}

Semantic roles & 50–950 ramp

primary
#516A25
secondary
#6A4E9D
accent
#50D881
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D05
muted
#7C7E7A

Preview Lab

Preview with #516A25

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

Preview Lab → · Contrast checker → · Palette generator →

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