#516E25#516E25

#516E25 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.9% C 0.106 H 128.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#516E25
RGBrgb(81, 110, 37)
HSLhsl(84, 50%, 29%)
HSVhsv(84, 66%, 43%)
CMYKcmyk(26.4%, 0%, 66.4%, 56.9%)
CIE-LABlab(42.82, -23.09, 36.19)
CIE-LCHlch(42.82, 42.92, 122.54°)
OKLaboklab(49.92% -0.0654 0.0832)
OKLCHoklch(49.92% 0.106 128.2)
XYZxyz(9.3032, 13.0346, 3.7757)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E25 #42256E
analogous
#6E6725 #516E25 #2D6E25
triadic
#516E25 #25516E #6E2551
tetradic
#516E25 #256E67 #42256E #6E252D
square
#516E25 #256E67 #42256E #6E252D
split-complementary
#516E25 #252D6E #67256E
monochromatic
#111708 #2F4016 #516E25 #739C34 #93C24B

Accessibility & contrast

On white

5.82
#516E25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#516E25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516E25
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516E25#FFFFFF#000000##FFFFFF
##516E251.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73661C
Deuteranopia (green-blind)
#6F652A
Tritanopia (blue-blind)
#54695F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e25;
/* rgb */ color: rgb(81, 110, 37);
/* oklch */ color: oklch(49.9% 0.106 128.2);
Tailwind
colors: {
  custom: {
    50: '#849763',
    500: '#516e25',
    950: '#000000',
  },
}
SCSS
$custom: #516e25;
$custom-light: #849763;
$custom-dark: #000000;
JSON
{
  "hex": "#516e25",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 37
  },
  "hsl": {
    "h": 83.836,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49915,
    "c": 0.10582,
    "h": 128.2
  },
  "luminance": 0.13035
}

Semantic roles & 50–950 ramp

primary
#516E25
secondary
#6F4EA1
accent
#4FD986
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D05
muted
#7C7E7A

Preview Lab

Preview with #516E25

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

Preview Lab → · Contrast checker → · Palette generator →

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