#516F25#516F25

#516F25 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.2% C 0.107 H 128.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#516F25
RGBrgb(81, 111, 37)
HSLhsl(84, 50%, 29%)
HSVhsv(84, 67%, 44%)
CMYKcmyk(27%, 0%, 66.7%, 56.5%)
CIE-LABlab(43.14, -23.59, 36.54)
CIE-LCHlch(43.14, 43.49, 122.85°)
OKLaboklab(50.18% -0.0668 0.0839)
OKLCHoklch(50.18% 0.107 128.5)
XYZxyz(9.4117, 13.2516, 3.8119)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F25 #43256F
analogous
#6F6825 #516F25 #2C6F25
triadic
#516F25 #25516F #6F2551
tetradic
#516F25 #256F68 #43256F #6F252C
square
#516F25 #256F68 #43256F #6F252C
split-complementary
#516F25 #252C6F #68256F
monochromatic
#111708 #304116 #516F25 #729D34 #93C34B

Accessibility & contrast

On white

5.75
#516F25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#516F25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516F25
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516F25#FFFFFF#000000##FFFFFF
##516F251.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671C
Deuteranopia (green-blind)
#70652B
Tritanopia (blue-blind)
#546A60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f25;
/* rgb */ color: rgb(81, 111, 37);
/* oklch */ color: oklch(50.2% 0.107 128.5);
Tailwind
colors: {
  custom: {
    50: '#849863',
    500: '#516f25',
    950: '#000000',
  },
}
SCSS
$custom: #516f25;
$custom-light: #849863;
$custom-dark: #000000;
JSON
{
  "hex": "#516f25",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 37
  },
  "hsl": {
    "h": 84.324,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50178,
    "c": 0.10727,
    "h": 128.5
  },
  "luminance": 0.13252
}

Semantic roles & 50–950 ramp

primary
#516F25
secondary
#704EA2
accent
#4EDA87
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D05
muted
#7C7E7A

Preview Lab

Preview with #516F25

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

Preview Lab → · Contrast checker → · Palette generator →

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