#505B1E#505B1E

#505B1E is a dark, moderate yellow-green. Relative luminance 0.093; OKLCH L 44.8% C 0.085 H 118.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#505B1E
RGBrgb(80, 91, 30)
HSLhsl(71, 50%, 24%)
HSVhsv(71, 67%, 36%)
CMYKcmyk(12.1%, 0%, 67%, 64.3%)
CIE-LABlab(36.52, -14.00, 32.70)
CIE-LCHlch(36.52, 35.57, 113.18°)
OKLaboklab(44.8% -0.0409 0.0748)
OKLCHoklch(44.8% 0.085 118.7)
XYZxyz(7.2838, 9.2814, 2.6358)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505B1E #291E5B
analogous
#5B471E #505B1E #315B1E
triadic
#505B1E #1E505B #5B1E50
tetradic
#505B1E #1E5B47 #291E5B #5B1E31
square
#505B1E #1E5B47 #291E5B #5B1E31
split-complementary
#505B1E #1E315B #471E5B
monochromatic
#141708 #282D0F #505B1E #78892D #A1B73C

Accessibility & contrast

On white

7.35
#505B1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#505B1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505B1E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505B1E#FFFFFF#000000##FFFFFF
##505B1E1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615617
Deuteranopia (green-blind)
#605622
Tritanopia (blue-blind)
#55564E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #505b1e;
/* rgb */ color: rgb(80, 91, 30);
/* oklch */ color: oklch(44.8% 0.085 118.7);
Tailwind
colors: {
  custom: {
    50: '#83895d',
    500: '#505b1e',
    950: '#000000',
  },
}
SCSS
$custom: #505b1e;
$custom-light: #83895d;
$custom-dark: #000000;
JSON
{
  "hex": "#505b1e",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 30
  },
  "hsl": {
    "h": 70.82,
    "s": 50.413,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44795,
    "c": 0.08526,
    "h": 118.7
  },
  "luminance": 0.09281
}

Semantic roles & 50–950 ramp

primary
#505B1E
secondary
#524590
accent
#4EDA67
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #505B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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