#505B2E#505B2E

#505B2E is a mid, moderate yellow-green. Relative luminance 0.094; OKLCH L 45.0% C 0.068 H 120.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#505B2E
RGBrgb(80, 91, 46)
HSLhsl(75, 33%, 27%)
HSVhsv(75, 49%, 36%)
CMYKcmyk(12.1%, 0%, 49.5%, 64.3%)
CIE-LABlab(36.72, -12.36, 24.41)
CIE-LCHlch(36.72, 27.36, 116.85°)
OKLaboklab(45.01% -0.0345 0.0587)
OKLCHoklch(45.01% 0.068 120.5)
XYZxyz(7.5425, 9.3849, 3.9984)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505B2E #392E5B
analogous
#5B502E #505B2E #3A5B2E
triadic
#505B2E #2E505B #5B2E50
tetradic
#505B2E #2E5B50 #392E5B #5B2E3A
square
#505B2E #2E5B50 #392E5B #5B2E3A
split-complementary
#505B2E #2E3A5B #502E5B
monochromatic
#12140A #2C3219 #505B2E #748443 #97AB59

Accessibility & contrast

On white

7.30
#505B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#505B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505B2E
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505B2E#FFFFFF#000000##FFFFFF
##505B2E1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60562A
Deuteranopia (green-blind)
#5F5630
Tritanopia (blue-blind)
#545750
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #505b2e;
/* rgb */ color: rgb(80, 91, 46);
/* oklch */ color: oklch(45.0% 0.068 120.5);
Tailwind
colors: {
  custom: {
    50: '#828968',
    500: '#505b2e',
    950: '#000000',
  },
}
SCSS
$custom: #505b2e;
$custom-light: #828968;
$custom-dark: #000000;
JSON
{
  "hex": "#505b2e",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 46
  },
  "hsl": {
    "h": 74.667,
    "s": 32.847,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45013,
    "c": 0.0681,
    "h": 120.5
  },
  "luminance": 0.09385
}

Semantic roles & 50–950 ramp

primary
#505B2E
secondary
#65588D
accent
#5FC979
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0B06
muted
#7C7C7A

Preview Lab

Preview with #505B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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