#495017#495017

#495017 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.2% C 0.079 H 116.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#495017
RGBrgb(73, 80, 23)
HSLhsl(67, 55%, 20%)
HSVhsv(67, 71%, 31%)
CMYKcmyk(8.8%, 0%, 71.2%, 68.6%)
CIE-LABlab(32.29, -11.64, 31.40)
CIE-LCHlch(32.29, 33.48, 110.34°)
OKLaboklab(41.23% -0.0346 0.0711)
OKLCHoklch(41.23% 0.079 116)
XYZxyz(5.7711, 7.2157, 1.8992)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#495017 #1E1750
analogous
#503A17 #495017 #2D5017
triadic
#495017 #174950 #501749
tetradic
#495017 #17503A #1E1750 #50172D
square
#495017 #17503A #1E1750 #50172D
split-complementary
#495017 #172D50 #3A1750
monochromatic
#161807 #1E2009 #495017 #748025 #A0AF32

Accessibility & contrast

On white

8.60
#495017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#495017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #495017
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##495017#FFFFFF#000000##FFFFFF
##4950171.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0F
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#4E4B44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #495017;
/* rgb */ color: rgb(73, 80, 23);
/* oklch */ color: oklch(41.2% 0.079 116.0);
Tailwind
colors: {
  custom: {
    50: '#7e8157',
    500: '#495017',
    950: '#000000',
  },
}
SCSS
$custom: #495017;
$custom-light: #7e8157;
$custom-dark: #000000;
JSON
{
  "hex": "#495017",
  "rgb": {
    "r": 73,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 67.368,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41232,
    "c": 0.07909,
    "h": 116
  },
  "luminance": 0.07216
}

Semantic roles & 50–950 ramp

primary
#495017
secondary
#453C87
accent
#49DF5B
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #495017

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

Preview Lab → · Contrast checker → · Palette generator →

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