#506913#506913

#506913 is a mid, moderate yellow-green. Relative luminance 0.119; OKLCH L 48.4% C 0.112 H 125.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#506913
RGBrgb(80, 105, 19)
HSLhsl(77, 69%, 24%)
HSVhsv(77, 82%, 41%)
CMYKcmyk(23.8%, 0%, 81.9%, 58.8%)
CIE-LABlab(40.99, -22.23, 41.73)
CIE-LCHlch(40.99, 47.28, 118.04°)
OKLaboklab(48.37% -0.0647 0.0919)
OKLCHoklch(48.37% 0.112 125.1)
XYZxyz(8.4775, 11.8555, 2.4577)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506913 #2C1369
analogous
#695713 #506913 #256913
triadic
#506913 #135069 #691350
tetradic
#506913 #136957 #2C1369 #691325
square
#506913 #136957 #2C1369 #691325
split-complementary
#506913 #132569 #571369
monochromatic
#141A05 #29350A #506913 #779D1C #9FD126

Accessibility & contrast

On white

6.23
#506913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#506913 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506913
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506913#FFFFFF#000000##FFFFFF
##5069131.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6200
Deuteranopia (green-blind)
#6C601C
Tritanopia (blue-blind)
#546459
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #506913;
/* rgb */ color: rgb(80, 105, 19);
/* oklch */ color: oklch(48.4% 0.112 125.1);
Tailwind
colors: {
  custom: {
    50: '#849459',
    500: '#506913',
    950: '#000000',
  },
}
SCSS
$custom: #506913;
$custom-light: #849459;
$custom-dark: #000000;
JSON
{
  "hex": "#506913",
  "rgb": {
    "r": 80,
    "g": 105,
    "b": 19
  },
  "hsl": {
    "h": 77.442,
    "s": 69.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48372,
    "c": 0.11238,
    "h": 125.1
  },
  "luminance": 0.11856
}

Semantic roles & 50–950 ramp

primary
#506913
secondary
#5638A0
accent
#3CEC6F
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #506913

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

Preview Lab → · Contrast checker → · Palette generator →

#506913 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva