#505B3F#505B3F

#505B3F is a mid, muted yellow-green. Relative luminance 0.095; OKLCH L 45.4% C 0.046 H 125.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#505B3F
RGBrgb(80, 91, 63)
HSLhsl(84, 18%, 30%)
HSVhsv(84, 31%, 36%)
CMYKcmyk(12.1%, 0%, 30.8%, 64.3%)
CIE-LABlab(37.02, -9.88, 14.77)
CIE-LCHlch(37.02, 17.77, 123.79°)
OKLaboklab(45.35% -0.0266 0.0372)
OKLCHoklch(45.35% 0.046 125.6)
XYZxyz(7.9464, 9.5465, 6.1257)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505B3F #4A3F5B
analogous
#5B583F #505B3F #425B3F
triadic
#505B3F #3F505B #5B3F50
tetradic
#505B3F #3F5B58 #4A3F5B #5B3F42
square
#505B3F #3F5B58 #4A3F5B #5B3F42
split-complementary
#505B3F #3F425B #583F5B
monochromatic
#10130D #303726 #505B3F #707F58 #8F9F75

Accessibility & contrast

On white

7.22
#505B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#505B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505B3F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505B3F#FFFFFF#000000##FFFFFF
##505B3F1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E573D
Deuteranopia (green-blind)
#5C5740
Tritanopia (blue-blind)
#525854
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #505b3f;
/* rgb */ color: rgb(80, 91, 63);
/* oklch */ color: oklch(45.4% 0.046 125.6);
Tailwind
colors: {
  custom: {
    50: '#818974',
    500: '#505b3f',
    950: '#000000',
  },
}
SCSS
$custom: #505b3f;
$custom-light: #818974;
$custom-dark: #000000;
JSON
{
  "hex": "#505b3f",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 63
  },
  "hsl": {
    "h": 83.571,
    "s": 18.182,
    "l": 30.196
  },
  "oklch": {
    "l": 0.45352,
    "c": 0.04569,
    "h": 125.6
  },
  "luminance": 0.09547
}

Semantic roles & 50–950 ramp

primary
#505B3F
secondary
#786B8B
accent
#6DBB8C
background
#F7F8F7
surface
#EEF0ED
border
#C9CBC8
text
#0A0B08
muted
#7C7C7B

Preview Lab

Preview with #505B3F

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

Preview Lab → · Contrast checker → · Palette generator →

#505B3F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva