#516230#516230

#516230 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.9% C 0.076 H 124.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#516230
RGBrgb(81, 98, 48)
HSLhsl(80, 34%, 29%)
HSVhsv(80, 51%, 38%)
CMYKcmyk(17.3%, 0%, 51%, 61.6%)
CIE-LABlab(39.07, -15.58, 26.19)
CIE-LCHlch(39.07, 30.47, 120.75°)
OKLaboklab(46.93% -0.0435 0.0628)
OKLCHoklch(46.93% 0.076 124.7)
XYZxyz(8.2945, 10.6980, 4.4237)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516230 #413062
analogous
#625A30 #516230 #386230
triadic
#516230 #305162 #623051
tetradic
#516230 #30625A #413062 #623038
square
#516230 #30625A #413062 #623038
split-complementary
#516230 #303862 #5A3062
monochromatic
#11150A #2F391C #516230 #738B44 #93B05D

Accessibility & contrast

On white

6.69
#516230 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#516230 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516230
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516230#FFFFFF#000000##FFFFFF
##5162301.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675D2C
Deuteranopia (green-blind)
#645C33
Tritanopia (blue-blind)
#545E56
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #516230;
/* rgb */ color: rgb(81, 98, 48);
/* oklch */ color: oklch(46.9% 0.076 124.7);
Tailwind
colors: {
  custom: {
    50: '#838e69',
    500: '#516230',
    950: '#000000',
  },
}
SCSS
$custom: #516230;
$custom-light: #838e69;
$custom-dark: #000000;
JSON
{
  "hex": "#516230",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 48
  },
  "hsl": {
    "h": 80.4,
    "s": 34.247,
    "l": 28.627
  },
  "oklch": {
    "l": 0.46931,
    "c": 0.07636,
    "h": 124.7
  },
  "luminance": 0.10698
}

Semantic roles & 50–950 ramp

primary
#516230
secondary
#6E5A93
accent
#5DCA82
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C06
muted
#7C7D7A

Preview Lab

Preview with #516230

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

Preview Lab → · Contrast checker → · Palette generator →

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