#505B10#505B10

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

Color values

HEX#505B10
RGBrgb(80, 91, 16)
HSLhsl(69, 70%, 21%)
HSVhsv(69, 82%, 36%)
CMYKcmyk(12.1%, 0%, 82.4%, 64.3%)
CIE-LABlab(36.41, -14.92, 38.54)
CIE-LCHlch(36.41, 41.33, 111.16°)
OKLaboklab(44.68% -0.0449 0.0846)
OKLCHoklch(44.68% 0.096 118)
XYZxyz(7.1430, 9.2251, 1.8944)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505B10 #1B105B
analogous
#5B4010 #505B10 #2A5B10
triadic
#505B10 #10505B #5B1050
tetradic
#505B10 #105B40 #1B105B #5B102A
square
#505B10 #105B40 #1B105B #5B102A
split-complementary
#505B10 #102A5B #40105B
monochromatic
#171A05 #222707 #505B10 #7E8F19 #ACC322

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##505B10#FFFFFF#000000##FFFFFF
##505B101.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)
#625600
Deuteranopia (green-blind)
#615617
Tritanopia (blue-blind)
#55554D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #505b10;
/* rgb */ color: rgb(80, 91, 16);
/* oklch */ color: oklch(44.7% 0.096 118.0);
Tailwind
colors: {
  custom: {
    50: '#848955',
    500: '#505b10',
    950: '#000000',
  },
}
SCSS
$custom: #505b10;
$custom-light: #848955;
$custom-dark: #000000;
JSON
{
  "hex": "#505b10",
  "rgb": {
    "r": 80,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 68.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44675,
    "c": 0.09579,
    "h": 118
  },
  "luminance": 0.09225
}

Semantic roles & 50–950 ramp

primary
#505B10
secondary
#413394
accent
#3BED55
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #505B10

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

Preview Lab → · Contrast checker → · Palette generator →

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