#505E0D#505E0D

#505E0D is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.4% C 0.101 H 119.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#505E0D
RGBrgb(80, 94, 13)
HSLhsl(70, 76%, 21%)
HSVhsv(70, 86%, 37%)
CMYKcmyk(14.9%, 0%, 86.2%, 63.1%)
CIE-LABlab(37.37, -16.70, 40.40)
CIE-LCHlch(37.37, 43.72, 112.46°)
OKLaboklab(45.44% -0.05 0.088)
OKLCHoklch(45.44% 0.101 119.6)
XYZxyz(7.3838, 9.7400, 1.8717)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505E0D #1B0D5E
analogous
#5E430D #505E0D #275E0D
triadic
#505E0D #0D505E #5E0D50
tetradic
#505E0D #0D5E43 #1B0D5E #5E0D27
square
#505E0D #0D5E43 #1B0D5E #5E0D27
split-complementary
#505E0D #0D275E #430D5E
monochromatic
#171B04 #222806 #505E0D #7E9414 #ACCA1C

Accessibility & contrast

On white

7.12
#505E0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#505E0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505E0D
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505E0D#FFFFFF#000000##FFFFFF
##505E0D1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#635815
Tritanopia (blue-blind)
#55584F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #505e0d;
/* rgb */ color: rgb(80, 94, 13);
/* oklch */ color: oklch(45.4% 0.101 119.6);
Tailwind
colors: {
  custom: {
    50: '#848b55',
    500: '#505e0d',
    950: '#000000',
  },
}
SCSS
$custom: #505e0d;
$custom-light: #848b55;
$custom-dark: #000000;
JSON
{
  "hex": "#505e0d",
  "rgb": {
    "r": 80,
    "g": 94,
    "b": 13
  },
  "hsl": {
    "h": 70.37,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.45441,
    "c": 0.10123,
    "h": 119.6
  },
  "luminance": 0.0974
}

Semantic roles & 50–950 ramp

primary
#505E0D
secondary
#412F98
accent
#36F256
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #505E0D

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

Preview Lab → · Contrast checker → · Palette generator →

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