#495F12#495F12

#495F12 is a mid, moderate yellow-green. Relative luminance 0.096; OKLCH L 45.2% C 0.103 H 124.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#495F12
RGBrgb(73, 95, 18)
HSLhsl(77, 68%, 22%)
HSVhsv(77, 81%, 37%)
CMYKcmyk(23.2%, 0%, 81.1%, 62.7%)
CIE-LABlab(37.20, -20.22, 38.36)
CIE-LCHlch(37.20, 43.36, 117.80°)
OKLaboklab(45.17% -0.0588 0.0848)
OKLCHoklch(45.17% 0.103 124.7)
XYZxyz(6.9491, 9.6445, 2.0676)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#495F12 #28125F
analogous
#5F4F12 #495F12 #225F12
triadic
#495F12 #12495F #5F1249
tetradic
#495F12 #125F4F #28125F #5F1222
square
#495F12 #125F4F #28125F #5F1222
split-complementary
#495F12 #12225F #4F125F
monochromatic
#141A05 #212C08 #495F12 #71921C #98C625

Accessibility & contrast

On white

7.17
#495F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#495F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #495F12
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##495F12#FFFFFF#000000##FFFFFF
##495F121.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655802
Deuteranopia (green-blind)
#625719
Tritanopia (blue-blind)
#4D5A51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #495f12;
/* rgb */ color: rgb(73, 95, 18);
/* oklch */ color: oklch(45.2% 0.103 124.7);
Tailwind
colors: {
  custom: {
    50: '#7f8c57',
    500: '#495f12',
    950: '#000000',
  },
}
SCSS
$custom: #495f12;
$custom-light: #7f8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#495f12",
  "rgb": {
    "r": 73,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 77.143,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.45173,
    "c": 0.10324,
    "h": 124.7
  },
  "luminance": 0.09645
}

Semantic roles & 50–950 ramp

primary
#495F12
secondary
#513697
accent
#3DEB6F
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #495F12

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

Preview Lab → · Contrast checker → · Palette generator →

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