#495712#495712

#495712 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 43.0% C 0.092 H 120.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#495712
RGBrgb(73, 87, 18)
HSLhsl(72, 66%, 21%)
HSVhsv(72, 79%, 34%)
CMYKcmyk(16.1%, 0%, 79.3%, 65.9%)
CIE-LABlab(34.55, -15.92, 35.84)
CIE-LCHlch(34.55, 39.22, 113.95°)
OKLaboklab(43.04% -0.047 0.0795)
OKLCHoklch(43.04% 0.092 120.6)
XYZxyz(6.2651, 8.2765, 1.8396)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#495712 #201257
analogous
#574212 #495712 #265712
triadic
#495712 #124957 #571249
tetradic
#495712 #125742 #201257 #571226
square
#495712 #125742 #201257 #571226
split-complementary
#495712 #122657 #421257
monochromatic
#151905 #1E2408 #495712 #748A1C #9EBC27

Accessibility & contrast

On white

7.91
#495712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#495712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #495712
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##495712#FFFFFF#000000##FFFFFF
##4957121.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5105
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#4E524A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #495712;
/* rgb */ color: rgb(73, 87, 18);
/* oklch */ color: oklch(43.0% 0.092 120.6);
Tailwind
colors: {
  custom: {
    50: '#7e8656',
    500: '#495712',
    950: '#000000',
  },
}
SCSS
$custom: #495712;
$custom-light: #7e8656;
$custom-dark: #000000;
JSON
{
  "hex": "#495712",
  "rgb": {
    "r": 73,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 72.174,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.43036,
    "c": 0.0924,
    "h": 120.6
  },
  "luminance": 0.08277
}

Semantic roles & 50–950 ramp

primary
#495712
secondary
#483590
accent
#3FE962
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #495712

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

Preview Lab → · Contrast checker → · Palette generator →

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