#495818#495818

#495818 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 43.4% C 0.089 H 121.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#495818
RGBrgb(73, 88, 24)
HSLhsl(74, 57%, 22%)
HSVhsv(74, 73%, 35%)
CMYKcmyk(17%, 0%, 72.7%, 65.5%)
CIE-LABlab(34.93, -16.07, 33.66)
CIE-LCHlch(34.93, 37.30, 115.52°)
OKLaboklab(43.35% -0.0468 0.0761)
OKLCHoklch(43.35% 0.089 121.6)
XYZxyz(6.4023, 8.4619, 2.1600)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#495818 #271858
analogous
#584718 #495818 #295818
triadic
#495818 #184958 #581849
tetradic
#495818 #185847 #271858 #581829
square
#495818 #185847 #271858 #581829
split-complementary
#495818 #182958 #471858
monochromatic
#141807 #21280B #495818 #718825 #99B832

Accessibility & contrast

On white

7.80
#495818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #495818
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##495818#FFFFFF#000000##FFFFFF
##4958181.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #495818;
/* rgb */ color: rgb(73, 88, 24);
/* oklch */ color: oklch(43.4% 0.089 121.6);
Tailwind
colors: {
  custom: {
    50: '#7e8759',
    500: '#495818',
    950: '#000000',
  },
}
SCSS
$custom: #495818;
$custom-light: #7e8759;
$custom-dark: #000000;
JSON
{
  "hex": "#495818",
  "rgb": {
    "r": 73,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 74.063,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43352,
    "c": 0.08931,
    "h": 121.6
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#495818
secondary
#503D8F
accent
#47E06B
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0B04
muted
#7C7C79

Preview Lab

Preview with #495818

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

Preview Lab → · Contrast checker → · Palette generator →

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