#516625#516625

#516625 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.8% C 0.094 H 125.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#516625
RGBrgb(81, 102, 37)
HSLhsl(79, 47%, 27%)
HSVhsv(79, 64%, 40%)
CMYKcmyk(20.6%, 0%, 63.7%, 60%)
CIE-LABlab(40.22, -18.93, 33.34)
CIE-LCHlch(40.22, 38.34, 119.59°)
OKLaboklab(47.82% -0.0539 0.0771)
OKLCHoklch(47.82% 0.094 125)
XYZxyz(8.4787, 11.3856, 3.5009)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516625 #3A2566
analogous
#665B25 #516625 #306625
triadic
#516625 #255166 #662551
tetradic
#516625 #25665B #3A2566 #662530
square
#516625 #25665B #3A2566 #662530
split-complementary
#516625 #253066 #5B2566
monochromatic
#121608 #2D3915 #516625 #759335 #97BD49

Accessibility & contrast

On white

6.41
#516625 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#516625 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516625
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516625#FFFFFF#000000##FFFFFF
##5166251.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C601E
Deuteranopia (green-blind)
#695F29
Tritanopia (blue-blind)
#556158
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #516625;
/* rgb */ color: rgb(81, 102, 37);
/* oklch */ color: oklch(47.8% 0.094 125.0);
Tailwind
colors: {
  custom: {
    50: '#849162',
    500: '#516625',
    950: '#000000',
  },
}
SCSS
$custom: #516625;
$custom-light: #849162;
$custom-dark: #000000;
JSON
{
  "hex": "#516625",
  "rgb": {
    "r": 81,
    "g": 102,
    "b": 37
  },
  "hsl": {
    "h": 79.385,
    "s": 46.763,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47818,
    "c": 0.09412,
    "h": 125
  },
  "luminance": 0.11386
}

Semantic roles & 50–950 ramp

primary
#516625
secondary
#664E99
accent
#51D67C
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #516625

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

Preview Lab → · Contrast checker → · Palette generator →

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