#496512#496512

#496512 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 46.8% C 0.111 H 127.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#496512
RGBrgb(73, 101, 18)
HSLhsl(80, 70%, 23%)
HSVhsv(80, 82%, 40%)
CMYKcmyk(27.7%, 0%, 82.2%, 60.4%)
CIE-LABlab(39.19, -23.31, 40.23)
CIE-LCHlch(39.19, 46.49, 120.09°)
OKLaboklab(46.79% -0.0672 0.0888)
OKLCHoklch(46.79% 0.111 127.1)
XYZxyz(7.5105, 10.7673, 2.2548)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#496512 #2E1265
analogous
#655712 #496512 #1F6512
triadic
#496512 #124965 #651249
tetradic
#496512 #126557 #2E1265 #65121F
square
#496512 #126557 #2E1265 #65121F
split-complementary
#496512 #121F65 #571265
monochromatic
#131A05 #233109 #496512 #6F991B #94CD25

Accessibility & contrast

On white

6.66
#496512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#496512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #496512
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##496512#FFFFFF#000000##FFFFFF
##4965121.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#675C1B
Tritanopia (blue-blind)
#4C6056
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #496512;
/* rgb */ color: rgb(73, 101, 18);
/* oklch */ color: oklch(46.8% 0.111 127.1);
Tailwind
colors: {
  custom: {
    50: '#7f9158',
    500: '#496512',
    950: '#000000',
  },
}
SCSS
$custom: #496512;
$custom-light: #7f9158;
$custom-dark: #000000;
JSON
{
  "hex": "#496512",
  "rgb": {
    "r": 73,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 80.241,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46786,
    "c": 0.11136,
    "h": 127.1
  },
  "luminance": 0.10768
}

Semantic roles & 50–950 ramp

primary
#496512
secondary
#59369D
accent
#3BED77
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #496512

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

Preview Lab → · Contrast checker → · Palette generator →

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