#495117#495117

#495117 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.5% C 0.080 H 116.8°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#495117
RGBrgb(73, 81, 23)
HSLhsl(68, 56%, 20%)
HSVhsv(68, 72%, 32%)
CMYKcmyk(9.9%, 0%, 71.6%, 68.2%)
CIE-LABlab(32.62, -12.21, 31.74)
CIE-LCHlch(32.62, 34.01, 111.05°)
OKLaboklab(41.49% -0.0362 0.0718)
OKLCHoklch(41.49% 0.08 116.8)
XYZxyz(5.8449, 7.3633, 1.9238)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#495117 #1F1751
analogous
#513C17 #495117 #2C5117
triadic
#495117 #174951 #511749
tetradic
#495117 #17513C #1F1751 #51172C
square
#495117 #17513C #1F1751 #51172C
split-complementary
#495117 #172C51 #3C1751
monochromatic
#151807 #1E2109 #495117 #748125 #9FB032

Accessibility & contrast

On white

8.49
#495117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#495117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #495117
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##495117#FFFFFF#000000##FFFFFF
##4951171.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0F
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#4E4C45
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #495117;
/* rgb */ color: rgb(73, 81, 23);
/* oklch */ color: oklch(41.5% 0.080 116.8);
Tailwind
colors: {
  custom: {
    50: '#7e8158',
    500: '#495117',
    950: '#000000',
  },
}
SCSS
$custom: #495117;
$custom-light: #7e8158;
$custom-dark: #000000;
JSON
{
  "hex": "#495117",
  "rgb": {
    "r": 73,
    "g": 81,
    "b": 23
  },
  "hsl": {
    "h": 68.276,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41494,
    "c": 0.08043,
    "h": 116.8
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#495117
secondary
#463C88
accent
#49DF5D
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #495117

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

Preview Lab → · Contrast checker → · Palette generator →

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