#495A12#495A12

#495A12 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.8% C 0.096 H 122.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#495A12
RGBrgb(73, 90, 18)
HSLhsl(74, 67%, 21%)
HSVhsv(74, 80%, 35%)
CMYKcmyk(18.9%, 0%, 80%, 64.7%)
CIE-LABlab(35.54, -17.56, 36.79)
CIE-LCHlch(35.54, 40.76, 115.52°)
OKLaboklab(43.84% -0.0515 0.0815)
OKLCHoklch(43.84% 0.096 122.3)
XYZxyz(6.5131, 8.7725, 1.9223)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#495A12 #23125A
analogous
#5A4712 #495A12 #255A12
triadic
#495A12 #12495A #5A1249
tetradic
#495A12 #125A47 #23125A #5A1225
square
#495A12 #125A47 #23125A #5A1225
split-complementary
#495A12 #12255A #47125A
monochromatic
#151A05 #202708 #495A12 #728D1C #9CC026

Accessibility & contrast

On white

7.62
#495A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#495A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #495A12
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##495A12#FFFFFF#000000##FFFFFF
##495A121.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605404
Deuteranopia (green-blind)
#5E5419
Tritanopia (blue-blind)
#4D554C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #495a12;
/* rgb */ color: rgb(73, 90, 18);
/* oklch */ color: oklch(43.8% 0.096 122.3);
Tailwind
colors: {
  custom: {
    50: '#7e8856',
    500: '#495a12',
    950: '#000000',
  },
}
SCSS
$custom: #495a12;
$custom-light: #7e8856;
$custom-dark: #000000;
JSON
{
  "hex": "#495a12",
  "rgb": {
    "r": 73,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 74.167,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43835,
    "c": 0.09646,
    "h": 122.3
  },
  "luminance": 0.08772
}

Semantic roles & 50–950 ramp

primary
#495A12
secondary
#4B3593
accent
#3EEA67
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #495A12

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

Preview Lab → · Contrast checker → · Palette generator →

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