#505B13#505B13

#505B13 is a dark, moderate yellow. Relative luminance 0.092; OKLCH L 44.7% C 0.094 H 118.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#505B13
RGBrgb(80, 91, 19)
HSLhsl(69, 65%, 22%)
HSVhsv(69, 79%, 36%)
CMYKcmyk(12.1%, 0%, 79.1%, 64.3%)
CIE-LABlab(36.43, -14.76, 37.45)
CIE-LCHlch(36.43, 40.25, 111.52°)
OKLaboklab(44.7% -0.0442 0.0829)
OKLCHoklch(44.7% 0.094 118.1)
XYZxyz(7.1671, 9.2347, 2.0209)
Luminance0.0924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505B13 #1E135B
analogous
#5B4213 #505B13 #2C5B13
triadic
#505B13 #13505B #5B1350
tetradic
#505B13 #135B42 #1E135B #5B132C
square
#505B13 #135B42 #1E135B #5B132C
split-complementary
#505B13 #132C5B #42135B
monochromatic
#161905 #232808 #505B13 #7D8E1E #A9C028

Accessibility & contrast

On white

7.38
#505B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#505B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505B13
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505B13#FFFFFF#000000##FFFFFF
##505B131.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625605
Deuteranopia (green-blind)
#605619
Tritanopia (blue-blind)
#55564D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #505b13;
/* rgb */ color: rgb(80, 91, 19);
/* oklch */ color: oklch(44.7% 0.094 118.1);
Tailwind
colors: {
  custom: {
    50: '#848957',
    500: '#505b13',
    950: '#000000',
  },
}
SCSS
$custom: #505b13;
$custom-light: #848957;
$custom-dark: #000000;
JSON
{
  "hex": "#505b13",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 19
  },
  "hsl": {
    "h": 69.167,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44695,
    "c": 0.09393,
    "h": 118.1
  },
  "luminance": 0.09235
}

Semantic roles & 50–950 ramp

primary
#505B13
secondary
#453793
accent
#3FE859
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #505B13

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

Preview Lab → · Contrast checker → · Palette generator →

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