#505F0D#505F0D

#505F0D is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.7% C 0.102 H 120.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#505F0D
RGBrgb(80, 95, 13)
HSLhsl(71, 76%, 21%)
HSVhsv(71, 86%, 37%)
CMYKcmyk(15.8%, 0%, 86.3%, 62.7%)
CIE-LABlab(37.70, -17.25, 40.69)
CIE-LCHlch(37.70, 44.20, 112.97°)
OKLaboklab(45.7% -0.0515 0.0886)
OKLCHoklch(45.7% 0.103 120.2)
XYZxyz(7.4733, 9.9190, 1.9015)
Luminance0.0992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505F0D #1C0D5F
analogous
#5F450D #505F0D #275F0D
triadic
#505F0D #0D505F #5F0D50
tetradic
#505F0D #0D5F45 #1C0D5F #5F0D27
square
#505F0D #0D5F45 #1C0D5F #5F0D27
split-complementary
#505F0D #0D275F #450D5F
monochromatic
#171B04 #232906 #505F0D #7D9514 #ABCB1C

Accessibility & contrast

On white

7.04
#505F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#505F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505F0D
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505F0D#FFFFFF#000000##FFFFFF
##505F0D1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#645916
Tritanopia (blue-blind)
#555950
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #505f0d;
/* rgb */ color: rgb(80, 95, 13);
/* oklch */ color: oklch(45.7% 0.102 120.2);
Tailwind
colors: {
  custom: {
    50: '#848c55',
    500: '#505f0d',
    950: '#000000',
  },
}
SCSS
$custom: #505f0d;
$custom-light: #848c55;
$custom-dark: #000000;
JSON
{
  "hex": "#505f0d",
  "rgb": {
    "r": 80,
    "g": 95,
    "b": 13
  },
  "hsl": {
    "h": 70.976,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45703,
    "c": 0.1025,
    "h": 120.2
  },
  "luminance": 0.09919
}

Semantic roles & 50–950 ramp

primary
#505F0D
secondary
#422F99
accent
#35F358
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #505F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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