#495E12#495E12

#495E12 is a dark, moderate yellow-green. Relative luminance 0.095; OKLCH L 44.9% C 0.102 H 124.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#495E12
RGBrgb(73, 94, 18)
HSLhsl(77, 68%, 22%)
HSVhsv(77, 81%, 37%)
CMYKcmyk(22.3%, 0%, 80.9%, 63.1%)
CIE-LABlab(36.87, -19.70, 38.05)
CIE-LCHlch(36.87, 42.84, 117.37°)
OKLaboklab(44.91% -0.0574 0.0842)
OKLCHoklch(44.91% 0.102 124.3)
XYZxyz(6.8596, 9.4655, 2.0378)
Luminance0.0947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#495E12 #27125E
analogous
#5E4D12 #495E12 #235E12
triadic
#495E12 #12495E #5E1249
tetradic
#495E12 #125E4D #27125E #5E1223
square
#495E12 #125E4D #27125E #5E1223
split-complementary
#495E12 #12235E #4D125E
monochromatic
#141A05 #212B08 #495E12 #71911C #99C526

Accessibility & contrast

On white

7.26
#495E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#495E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #495E12
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##495E12#FFFFFF#000000##FFFFFF
##495E121.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645702
Deuteranopia (green-blind)
#615719
Tritanopia (blue-blind)
#4D5950
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #495e12;
/* rgb */ color: rgb(73, 94, 18);
/* oklch */ color: oklch(44.9% 0.102 124.3);
Tailwind
colors: {
  custom: {
    50: '#7e8b57',
    500: '#495e12',
    950: '#000000',
  },
}
SCSS
$custom: #495e12;
$custom-light: #7e8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#495e12",
  "rgb": {
    "r": 73,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 76.579,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.44905,
    "c": 0.10188,
    "h": 124.3
  },
  "luminance": 0.09466
}

Semantic roles & 50–950 ramp

primary
#495E12
secondary
#503596
accent
#3DEB6D
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #495E12

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

Preview Lab → · Contrast checker → · Palette generator →

#495E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva