#496212#496212

#496212 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 46.0% C 0.107 H 126.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#496212
RGBrgb(73, 98, 18)
HSLhsl(79, 69%, 23%)
HSVhsv(79, 82%, 38%)
CMYKcmyk(25.5%, 0%, 81.6%, 61.6%)
CIE-LABlab(38.19, -21.78, 39.30)
CIE-LCHlch(38.19, 44.93, 119.00°)
OKLaboklab(45.98% -0.0631 0.0868)
OKLCHoklch(45.98% 0.107 126)
XYZxyz(7.2246, 10.1954, 2.1594)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#496212 #2B1262
analogous
#625312 #496212 #216212
triadic
#496212 #124962 #621249
tetradic
#496212 #126253 #2B1262 #621221
square
#496212 #126253 #2B1262 #621221
split-complementary
#496212 #122162 #531262
monochromatic
#131A05 #222E09 #496212 #70961B #96C925

Accessibility & contrast

On white

6.91
#496212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#496212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #496212
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##496212#FFFFFF#000000##FFFFFF
##4962121.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B01
Deuteranopia (green-blind)
#645A1A
Tritanopia (blue-blind)
#4C5D53
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #496212;
/* rgb */ color: rgb(73, 98, 18);
/* oklch */ color: oklch(46.0% 0.107 126.0);
Tailwind
colors: {
  custom: {
    50: '#7f8e57',
    500: '#496212',
    950: '#000000',
  },
}
SCSS
$custom: #496212;
$custom-light: #7f8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#496212",
  "rgb": {
    "r": 73,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 78.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45978,
    "c": 0.1073,
    "h": 126
  },
  "luminance": 0.10196
}

Semantic roles & 50–950 ramp

primary
#496212
secondary
#55369A
accent
#3CEC73
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #496212

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

Preview Lab → · Contrast checker → · Palette generator →

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