#505E1B#505E1B

#505E1B is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.5% C 0.092 H 120.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#505E1B
RGBrgb(80, 94, 27)
HSLhsl(73, 55%, 24%)
HSVhsv(73, 71%, 37%)
CMYKcmyk(14.9%, 0%, 71.3%, 63.1%)
CIE-LABlab(37.46, -15.90, 35.10)
CIE-LCHlch(37.46, 38.53, 114.37°)
OKLaboklab(45.54% -0.0465 0.0794)
OKLCHoklch(45.54% 0.092 120.4)
XYZxyz(7.5089, 9.7900, 2.5308)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505E1B #291B5E
analogous
#5E4A1B #505E1B #2E5E1B
triadic
#505E1B #1B505E #5E1B50
tetradic
#505E1B #1B5E4A #291B5E #5E1B2E
square
#505E1B #1B5E4A #291B5E #5E1B2E
split-complementary
#505E1B #1B2E5E #4A1B5E
monochromatic
#141807 #282E0D #505E1B #788E29 #A1BD36

Accessibility & contrast

On white

7.10
#505E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#505E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505E1B
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505E1B#FFFFFF#000000##FFFFFF
##505E1B1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645812
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#555950
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #505e1b;
/* rgb */ color: rgb(80, 94, 27);
/* oklch */ color: oklch(45.5% 0.092 120.4);
Tailwind
colors: {
  custom: {
    50: '#838b5c',
    500: '#505e1b',
    950: '#000000',
  },
}
SCSS
$custom: #505e1b;
$custom-light: #838b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#505e1b",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 27
  },
  "hsl": {
    "h": 72.537,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45544,
    "c": 0.09201,
    "h": 120.4
  },
  "luminance": 0.0979
}

Semantic roles & 50–950 ramp

primary
#505E1B
secondary
#524194
accent
#49DF68
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #505E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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