#516338#516338

#516338 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.3% C 0.068 H 127.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#516338
RGBrgb(81, 99, 56)
HSLhsl(85, 28%, 30%)
HSVhsv(85, 43%, 39%)
CMYKcmyk(18.2%, 0%, 43.4%, 61.2%)
CIE-LABlab(39.51, -15.07, 22.21)
CIE-LCHlch(39.51, 26.84, 124.16°)
OKLaboklab(47.33% -0.0415 0.0543)
OKLCHoklch(47.33% 0.068 127.4)
XYZxyz(8.5689, 10.9584, 5.4044)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516338 #4A3863
analogous
#635F38 #516338 #3B6338
triadic
#516338 #385163 #633851
tetradic
#516338 #38635F #4A3863 #63383B
square
#516338 #38635F #4A3863 #63383B
split-complementary
#516338 #383B63 #5F3863
monochromatic
#11150C #313C22 #516338 #718A4E #90AB6A

Accessibility & contrast

On white

6.58
#516338 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#516338 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516338
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516338#FFFFFF#000000##FFFFFF
##5163381.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675E35
Deuteranopia (green-blind)
#645D3A
Tritanopia (blue-blind)
#535F58
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #516338;
/* rgb */ color: rgb(81, 99, 56);
/* oklch */ color: oklch(47.3% 0.068 127.4);
Tailwind
colors: {
  custom: {
    50: '#828f6f',
    500: '#516338',
    950: '#000000',
  },
}
SCSS
$custom: #516338;
$custom-light: #828f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#516338",
  "rgb": {
    "r": 81,
    "g": 99,
    "b": 56
  },
  "hsl": {
    "h": 85.116,
    "s": 27.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.47327,
    "c": 0.06833,
    "h": 127.4
  },
  "luminance": 0.10959
}

Semantic roles & 50–950 ramp

primary
#516338
secondary
#776393
accent
#64C48C
background
#F8F8F6
surface
#EFF0EC
border
#CACBC7
text
#0A0C07
muted
#7C7D7A

Preview Lab

Preview with #516338

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

Preview Lab → · Contrast checker → · Palette generator →

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