#496012#496012

#496012 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.4% C 0.105 H 125.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#496012
RGBrgb(73, 96, 18)
HSLhsl(78, 68%, 22%)
HSVhsv(78, 81%, 38%)
CMYKcmyk(24%, 0%, 81.3%, 62.4%)
CIE-LABlab(37.53, -20.74, 38.67)
CIE-LCHlch(37.53, 43.89, 118.21°)
OKLaboklab(45.44% -0.0602 0.0855)
OKLCHoklch(45.44% 0.105 125.2)
XYZxyz(7.0398, 9.8258, 2.0978)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#496012 #291260
analogous
#605012 #496012 #226012
triadic
#496012 #124960 #601249
tetradic
#496012 #126050 #291260 #601222
square
#496012 #126050 #291260 #601222
split-complementary
#496012 #122260 #501260
monochromatic
#141A05 #222C08 #496012 #70941C #97C725

Accessibility & contrast

On white

7.08
#496012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#496012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #496012
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##496012#FFFFFF#000000##FFFFFF
##4960121.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665902
Deuteranopia (green-blind)
#63581A
Tritanopia (blue-blind)
#4D5B51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #496012;
/* rgb */ color: rgb(73, 96, 18);
/* oklch */ color: oklch(45.4% 0.105 125.2);
Tailwind
colors: {
  custom: {
    50: '#7f8d57',
    500: '#496012',
    950: '#000000',
  },
}
SCSS
$custom: #496012;
$custom-light: #7f8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#496012",
  "rgb": {
    "r": 73,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 77.692,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45441,
    "c": 0.10459,
    "h": 125.2
  },
  "luminance": 0.09826
}

Semantic roles & 50–950 ramp

primary
#496012
secondary
#533698
accent
#3DEB70
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #496012

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

Preview Lab → · Contrast checker → · Palette generator →

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