#516223#516223

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

Color values

HEX#516223
RGBrgb(81, 98, 35)
HSLhsl(76, 47%, 26%)
HSVhsv(76, 64%, 38%)
CMYKcmyk(17.3%, 0%, 64.3%, 61.6%)
CIE-LABlab(38.91, -16.97, 32.87)
CIE-LCHlch(38.91, 36.99, 117.30°)
OKLaboklab(46.75% -0.0487 0.0759)
OKLCHoklch(46.75% 0.09 122.7)
XYZxyz(8.0645, 10.6060, 3.2121)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516223 #342362
analogous
#625323 #516223 #316223
triadic
#516223 #235162 #622351
tetradic
#516223 #236253 #342362 #622331
square
#516223 #236253 #342362 #622331
split-complementary
#516223 #233162 #532362
monochromatic
#131708 #2C3513 #516223 #768F33 #9BBC43

Accessibility & contrast

On white

6.73
#516223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#516223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516223
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516223#FFFFFF#000000##FFFFFF
##5162231.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C1C
Deuteranopia (green-blind)
#665C27
Tritanopia (blue-blind)
#555D55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #516223;
/* rgb */ color: rgb(81, 98, 35);
/* oklch */ color: oklch(46.8% 0.090 122.7);
Tailwind
colors: {
  custom: {
    50: '#848e61',
    500: '#516223',
    950: '#000000',
  },
}
SCSS
$custom: #516223;
$custom-light: #848e61;
$custom-dark: #000000;
JSON
{
  "hex": "#516223",
  "rgb": {
    "r": 81,
    "g": 98,
    "b": 35
  },
  "hsl": {
    "h": 76.19,
    "s": 47.368,
    "l": 26.078
  },
  "oklch": {
    "l": 0.46752,
    "c": 0.09015,
    "h": 122.7
  },
  "luminance": 0.10606
}

Semantic roles & 50–950 ramp

primary
#516223
secondary
#5F4B96
accent
#51D775
background
#F8F8F5
surface
#EFF0EA
border
#CACBC6
text
#0B0C05
muted
#7C7D79

Preview Lab

Preview with #516223

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

Preview Lab → · Contrast checker → · Palette generator →

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