#496912#496912

#496912 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 47.9% C 0.117 H 128.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#496912
RGBrgb(73, 105, 18)
HSLhsl(82, 71%, 24%)
HSVhsv(82, 83%, 41%)
CMYKcmyk(30.5%, 0%, 82.9%, 58.8%)
CIE-LABlab(40.51, -25.31, 41.46)
CIE-LCHlch(40.51, 48.57, 121.40°)
OKLaboklab(47.87% -0.0727 0.0914)
OKLCHoklch(47.87% 0.117 128.5)
XYZxyz(7.9084, 11.5631, 2.3874)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#496912 #321269
analogous
#695E12 #496912 #1E6912
triadic
#496912 #124969 #691249
tetradic
#496912 #12695E #321269 #69121E
square
#496912 #12695E #321269 #69121E
split-complementary
#496912 #121E69 #5E1269
monochromatic
#121A04 #253509 #496912 #6D9D1B #92D124

Accessibility & contrast

On white

6.34
#496912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#496912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #496912
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##496912#FFFFFF#000000##FFFFFF
##4969121.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6A5F1B
Tritanopia (blue-blind)
#4C6459
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #496912;
/* rgb */ color: rgb(73, 105, 18);
/* oklch */ color: oklch(47.9% 0.117 128.5);
Tailwind
colors: {
  custom: {
    50: '#7f9458',
    500: '#496912',
    950: '#000000',
  },
}
SCSS
$custom: #496912;
$custom-light: #7f9458;
$custom-dark: #000000;
JSON
{
  "hex": "#496912",
  "rgb": {
    "r": 73,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 82.069,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47865,
    "c": 0.11673,
    "h": 128.5
  },
  "luminance": 0.11563
}

Semantic roles & 50–950 ramp

primary
#496912
secondary
#5D36A1
accent
#3AED7C
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #496912

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

Preview Lab → · Contrast checker → · Palette generator →

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