#505C2D#505C2D

#505C2D is a mid, moderate yellow-green. Relative luminance 0.095; OKLCH L 45.3% C 0.071 H 121.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#505C2D
RGBrgb(80, 92, 45)
HSLhsl(75, 34%, 27%)
HSVhsv(75, 51%, 36%)
CMYKcmyk(13%, 0%, 51.1%, 63.9%)
CIE-LABlab(37.02, -13.04, 25.35)
CIE-LCHlch(37.02, 28.51, 117.23°)
OKLaboklab(45.25% -0.0366 0.0607)
OKLCHoklch(45.25% 0.071 121.1)
XYZxyz(7.6091, 9.5492, 3.9244)
Luminance0.0955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505C2D #392D5C
analogous
#5C512D #505C2D #395C2D
triadic
#505C2D #2D505C #5C2D50
tetradic
#505C2D #2D5C51 #392D5C #5C2D39
square
#505C2D #2D5C51 #392D5C #5C2D39
split-complementary
#505C2D #2D395C #512D5C
monochromatic
#12150A #2C3319 #505C2D #748541 #97AD57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##505C2D#FFFFFF#000000##FFFFFF
##505C2D1.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)
#615729
Deuteranopia (green-blind)
#5F5730
Tritanopia (blue-blind)
#545851
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #505c2d;
/* rgb */ color: rgb(80, 92, 45);
/* oklch */ color: oklch(45.3% 0.071 121.1);
Tailwind
colors: {
  custom: {
    50: '#828a67',
    500: '#505c2d',
    950: '#000000',
  },
}
SCSS
$custom: #505c2d;
$custom-light: #828a67;
$custom-dark: #000000;
JSON
{
  "hex": "#505c2d",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 45
  },
  "hsl": {
    "h": 75.319,
    "s": 34.307,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45254,
    "c": 0.07086,
    "h": 121.1
  },
  "luminance": 0.09549
}

Semantic roles & 50–950 ramp

primary
#505C2D
secondary
#65578E
accent
#5DCA79
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0A0B06
muted
#7C7C7A

Preview Lab

Preview with #505C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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