#495812#495812

#495812 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.3% C 0.094 H 121.2°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#495812
RGBrgb(73, 88, 18)
HSLhsl(73, 66%, 21%)
HSVhsv(73, 80%, 35%)
CMYKcmyk(17%, 0%, 79.5%, 65.5%)
CIE-LABlab(34.88, -16.47, 36.16)
CIE-LCHlch(34.88, 39.73, 114.49°)
OKLaboklab(43.3% -0.0485 0.0802)
OKLCHoklch(43.3% 0.094 121.2)
XYZxyz(6.3467, 8.4396, 1.8668)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#495812 #211258
analogous
#584412 #495812 #265812
triadic
#495812 #124958 #581249
tetradic
#495812 #125844 #211258 #581226
square
#495812 #125844 #211258 #581226
split-complementary
#495812 #122658 #441258
monochromatic
#151905 #1F2508 #495812 #738B1C #9DBE27

Accessibility & contrast

On white

7.81
#495812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#495812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #495812
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##495812#FFFFFF#000000##FFFFFF
##4958121.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5205
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#4D534B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #495812;
/* rgb */ color: rgb(73, 88, 18);
/* oklch */ color: oklch(43.3% 0.094 121.2);
Tailwind
colors: {
  custom: {
    50: '#7e8756',
    500: '#495812',
    950: '#000000',
  },
}
SCSS
$custom: #495812;
$custom-light: #7e8756;
$custom-dark: #000000;
JSON
{
  "hex": "#495812",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 72.857,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.43302,
    "c": 0.09375,
    "h": 121.2
  },
  "luminance": 0.0844
}

Semantic roles & 50–950 ramp

primary
#495812
secondary
#493591
accent
#3FE963
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B03
muted
#7C7C78

Preview Lab

Preview with #495812

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

Preview Lab → · Contrast checker → · Palette generator →

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