#495315#495315

#495315 is a dark, moderate yellow. Relative luminance 0.077; OKLCH L 42.0% C 0.085 H 118.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#495315
RGBrgb(73, 83, 21)
HSLhsl(70, 60%, 20%)
HSVhsv(70, 75%, 33%)
CMYKcmyk(12%, 0%, 74.7%, 67.5%)
CIE-LABlab(33.26, -13.50, 33.30)
CIE-LCHlch(33.26, 35.94, 112.06°)
OKLaboklab(42% -0.04 0.0748)
OKLCHoklch(42% 0.085 118.2)
XYZxyz(5.9764, 7.6572, 1.8725)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#495315 #1F1553
analogous
#533E15 #495315 #2A5315
triadic
#495315 #154953 #531549
tetradic
#495315 #15533E #1F1553 #53152A
square
#495315 #15533E #1F1553 #53152A
split-complementary
#495315 #152A53 #3E1553
monochromatic
#151806 #1E2209 #495315 #748421 #9FB52E

Accessibility & contrast

On white

8.30
#495315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#495315 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #495315
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##495315#FFFFFF#000000##FFFFFF
##4953151.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0B
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#4E4E47
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #495315;
/* rgb */ color: rgb(73, 83, 21);
/* oklch */ color: oklch(42.0% 0.085 118.2);
Tailwind
colors: {
  custom: {
    50: '#7e8357',
    500: '#495315',
    950: '#000000',
  },
}
SCSS
$custom: #495315;
$custom-light: #7e8357;
$custom-dark: #000000;
JSON
{
  "hex": "#495315",
  "rgb": {
    "r": 73,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 69.677,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42001,
    "c": 0.0848,
    "h": 118.2
  },
  "luminance": 0.07657
}

Semantic roles & 50–950 ramp

primary
#495315
secondary
#46398B
accent
#45E35E
background
#F7F8F5
surface
#EEEFE9
border
#C9CAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #495315

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

Preview Lab → · Contrast checker → · Palette generator →

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