#506310#506310

#506310 is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.8% C 0.106 H 122.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#506310
RGBrgb(80, 99, 16)
HSLhsl(74, 72%, 23%)
HSVhsv(74, 84%, 39%)
CMYKcmyk(19.2%, 0%, 83.8%, 61.2%)
CIE-LABlab(39.01, -19.25, 40.92)
CIE-LCHlch(39.01, 45.22, 115.20°)
OKLaboklab(46.77% -0.0568 0.0897)
OKLCHoklch(46.77% 0.106 122.3)
XYZxyz(7.8638, 10.6665, 2.1347)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506310 #231063
analogous
#634D10 #506310 #266310
triadic
#506310 #105063 #631050
tetradic
#506310 #10634D #231063 #631026
square
#506310 #10634D #231063 #631026
split-complementary
#506310 #102663 #4D1063
monochromatic
#151A04 #252E07 #506310 #7B9819 #A5CC21

Accessibility & contrast

On white

6.70
#506310 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#506310 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506310
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506310#FFFFFF#000000##FFFFFF
##5063101.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C00
Deuteranopia (green-blind)
#675C19
Tritanopia (blue-blind)
#555D54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #506310;
/* rgb */ color: rgb(80, 99, 16);
/* oklch */ color: oklch(46.8% 0.106 122.3);
Tailwind
colors: {
  custom: {
    50: '#848f57',
    500: '#506310',
    950: '#000000',
  },
}
SCSS
$custom: #506310;
$custom-light: #848f57;
$custom-dark: #000000;
JSON
{
  "hex": "#506310",
  "rgb": {
    "r": 80,
    "g": 99,
    "b": 16
  },
  "hsl": {
    "h": 73.735,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.46771,
    "c": 0.10613,
    "h": 122.3
  },
  "luminance": 0.10667
}

Semantic roles & 50–950 ramp

primary
#506310
secondary
#4B339C
accent
#39EF63
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #506310

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

Preview Lab → · Contrast checker → · Palette generator →

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