#505B1D#505B1D

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

Color values

HEX#505B1D
RGBrgb(80, 91, 29)
HSLhsl(71, 52%, 24%)
HSVhsv(71, 68%, 36%)
CMYKcmyk(12.1%, 0%, 68.1%, 64.3%)
CIE-LABlab(36.51, -14.09, 33.17)
CIE-LCHlch(36.51, 36.04, 113.01°)
OKLaboklab(44.78% -0.0412 0.0757)
OKLCHoklch(44.78% 0.086 118.6)
XYZxyz(7.2712, 9.2764, 2.5696)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505B1D #281D5B
analogous
#5B471D #505B1D #315B1D
triadic
#505B1D #1D505B #5B1D50
tetradic
#505B1D #1D5B47 #281D5B #5B1D31
square
#505B1D #1D5B47 #281D5B #5B1D31
split-complementary
#505B1D #1D315B #471D5B
monochromatic
#141707 #272D0E #505B1D #79892C #A2B83B

Accessibility & contrast

On white

7.36
#505B1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #505B1D
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505B1D#FFFFFF#000000##FFFFFF
##505B1D1.007.362.867.36
#FFFFFF7.361.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #505b1d;
/* rgb */ color: rgb(80, 91, 29);
/* oklch */ color: oklch(44.8% 0.086 118.6);
Tailwind
colors: {
  custom: {
    50: '#83895c',
    500: '#505b1d',
    950: '#000000',
  },
}
SCSS
$custom: #505b1d;
$custom-light: #83895c;
$custom-dark: #000000;
JSON
{
  "hex": "#505b1d",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 29
  },
  "hsl": {
    "h": 70.645,
    "s": 51.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44784,
    "c": 0.08616,
    "h": 118.6
  },
  "luminance": 0.09276
}

Semantic roles & 50–950 ramp

primary
#505B1D
secondary
#514490
accent
#4DDB66
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #505B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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