#506113#506113

#506113 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.3% C 0.102 H 121.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#506113
RGBrgb(80, 97, 19)
HSLhsl(73, 67%, 23%)
HSVhsv(73, 80%, 38%)
CMYKcmyk(17.5%, 0%, 80.4%, 62%)
CIE-LABlab(38.38, -18.04, 39.29)
CIE-LCHlch(38.38, 43.24, 114.66°)
OKLaboklab(46.26% -0.0532 0.0868)
OKLCHoklch(46.26% 0.102 121.5)
XYZxyz(7.7006, 10.3019, 2.1987)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#506113 #241361
analogous
#614B13 #506113 #296113
triadic
#506113 #135061 #611350
tetradic
#506113 #13614B #241361 #611329
square
#506113 #13614B #241361 #611329
split-complementary
#506113 #132961 #4B1361
monochromatic
#151A05 #262E09 #506113 #7A941D #A4C727

Accessibility & contrast

On white

6.86
#506113 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#506113 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #506113
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##506113#FFFFFF#000000##FFFFFF
##5061131.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B03
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#555C52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #506113;
/* rgb */ color: rgb(80, 97, 19);
/* oklch */ color: oklch(46.3% 0.102 121.5);
Tailwind
colors: {
  custom: {
    50: '#848e58',
    500: '#506113',
    950: '#000000',
  },
}
SCSS
$custom: #506113;
$custom-light: #848e58;
$custom-dark: #000000;
JSON
{
  "hex": "#506113",
  "rgb": {
    "r": 80,
    "g": 97,
    "b": 19
  },
  "hsl": {
    "h": 73.077,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.46264,
    "c": 0.10178,
    "h": 121.5
  },
  "luminance": 0.10302
}

Semantic roles & 50–950 ramp

primary
#506113
secondary
#4C3799
accent
#3EEA63
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #506113

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

Preview Lab → · Contrast checker → · Palette generator →

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