#496812#496812

#496812 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.6% C 0.115 H 128.2°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#496812
RGBrgb(73, 104, 18)
HSLhsl(82, 70%, 24%)
HSVhsv(82, 83%, 41%)
CMYKcmyk(29.8%, 0%, 82.7%, 59.2%)
CIE-LABlab(40.18, -24.81, 41.15)
CIE-LCHlch(40.18, 48.05, 121.09°)
OKLaboklab(47.6% -0.0713 0.0907)
OKLCHoklch(47.6% 0.115 128.2)
XYZxyz(7.8072, 11.3606, 2.3536)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#496812 #311268
analogous
#685C12 #496812 #1E6812
triadic
#496812 #124968 #681249
tetradic
#496812 #12685C #311268 #68121E
square
#496812 #12685C #311268 #68121E
split-complementary
#496812 #121E68 #5C1268
monochromatic
#121A05 #243409 #496812 #6E9C1B #92D024

Accessibility & contrast

On white

6.42
#496812 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#496812 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #496812
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##496812#FFFFFF#000000##FFFFFF
##4968121.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#695E1B
Tritanopia (blue-blind)
#4C6358
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #496812;
/* rgb */ color: rgb(73, 104, 18);
/* oklch */ color: oklch(47.6% 0.115 128.2);
Tailwind
colors: {
  custom: {
    50: '#7f9358',
    500: '#496812',
    950: '#000000',
  },
}
SCSS
$custom: #496812;
$custom-light: #7f9358;
$custom-dark: #000000;
JSON
{
  "hex": "#496812",
  "rgb": {
    "r": 73,
    "g": 104,
    "b": 18
  },
  "hsl": {
    "h": 81.628,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.47595,
    "c": 0.11539,
    "h": 128.2
  },
  "luminance": 0.11361
}

Semantic roles & 50–950 ramp

primary
#496812
secondary
#5C36A0
accent
#3BED7B
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #496812

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

Preview Lab → · Contrast checker → · Palette generator →

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