#495218#495218

#495218 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.8% C 0.081 H 117.6°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#495218
RGBrgb(73, 82, 24)
HSLhsl(69, 55%, 21%)
HSVhsv(69, 71%, 32%)
CMYKcmyk(11%, 0%, 70.7%, 67.8%)
CIE-LABlab(32.96, -12.71, 31.62)
CIE-LCHlch(32.96, 34.07, 111.90°)
OKLaboklab(41.77% -0.0375 0.0717)
OKLCHoklch(41.77% 0.081 117.6)
XYZxyz(5.9299, 7.5171, 2.0025)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#495218 #211852
analogous
#523E18 #495218 #2C5218
triadic
#495218 #184952 #521849
tetradic
#495218 #18523E #211852 #52182C
square
#495218 #18523E #211852 #52182C
split-complementary
#495218 #182C52 #3E1852
monochromatic
#151807 #1F230A #495218 #738126 #9DB134

Accessibility & contrast

On white

8.39
#495218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#495218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #495218
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##495218#FFFFFF#000000##FFFFFF
##4952181.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D10
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#4E4D46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #495218;
/* rgb */ color: rgb(73, 82, 24);
/* oklch */ color: oklch(41.8% 0.081 117.6);
Tailwind
colors: {
  custom: {
    50: '#7e8258',
    500: '#495218',
    950: '#000000',
  },
}
SCSS
$custom: #495218;
$custom-light: #7e8258;
$custom-dark: #000000;
JSON
{
  "hex": "#495218",
  "rgb": {
    "r": 73,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 69.31,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41767,
    "c": 0.08094,
    "h": 117.6
  },
  "luminance": 0.07517
}

Semantic roles & 50–950 ramp

primary
#495218
secondary
#493D89
accent
#4ADE61
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #495218

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

Preview Lab → · Contrast checker → · Palette generator →

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