#516229#516229

#516229 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.8% C 0.084 H 123.5°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#516229
RGBrgb(81, 98, 41)
HSLhsl(78, 41%, 27%)
HSVhsv(78, 58%, 38%)
CMYKcmyk(17.3%, 0%, 58.2%, 61.6%)
CIE-LABlab(38.98, -16.38, 29.88)
CIE-LCHlch(38.98, 34.07, 118.73°)
OKLaboklab(46.83% -0.0464 0.0702)
OKLCHoklch(46.83% 0.084 123.5)
XYZxyz(8.1613, 10.6448, 3.7221)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516229 #3A2962
analogous
#625729 #516229 #356229
triadic
#516229 #295162 #622951
tetradic
#516229 #296257 #3A2962 #622935
square
#516229 #296257 #3A2962 #622935
split-complementary
#516229 #293562 #572962
monochromatic
#121609 #2D3717 #516229 #758D3B #97B650

Accessibility & contrast

On white

6.71
#516229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#516229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516229
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516229#FFFFFF#000000##FFFFFF
##5162291.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C23
Deuteranopia (green-blind)
#655C2D
Tritanopia (blue-blind)
#555D55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #516229;
/* rgb */ color: rgb(81, 98, 41);
/* oklch */ color: oklch(46.8% 0.084 123.5);
Tailwind
colors: {
  custom: {
    50: '#838e65',
    500: '#516229',
    950: '#000000',
  },
}
SCSS
$custom: #516229;
$custom-light: #838e65;
$custom-dark: #000000;
JSON
{
  "hex": "#516229",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 41
  },
  "hsl": {
    "h": 77.895,
    "s": 41.007,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46827,
    "c": 0.08414,
    "h": 123.5
  },
  "luminance": 0.10645
}

Semantic roles & 50–950 ramp

primary
#516229
secondary
#665295
accent
#57D17B
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C05
muted
#7C7D7A

Preview Lab

Preview with #516229

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

Preview Lab → · Contrast checker → · Palette generator →

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