#495012#495012

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

Color values

HEX#495012
RGBrgb(73, 80, 18)
HSLhsl(67, 63%, 19%)
HSVhsv(67, 78%, 31%)
CMYKcmyk(8.8%, 0%, 77.5%, 68.6%)
CIE-LABlab(32.25, -11.98, 33.60)
CIE-LCHlch(32.25, 35.68, 109.62°)
OKLaboklab(41.19% -0.0361 0.0748)
OKLCHoklch(41.19% 0.083 115.8)
XYZxyz(5.7256, 7.1975, 1.6598)
Luminance0.0720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#495012 #191250
analogous
#503812 #495012 #2A5012
triadic
#495012 #124950 #501249
tetradic
#495012 #125038 #191250 #50122A
square
#495012 #125038 #191250 #50122A
split-complementary
#495012 #122A50 #381250
monochromatic
#171906 #1B1E07 #495012 #77821D #A4B428

Accessibility & contrast

On white

8.61
#495012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #495012
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##495012#FFFFFF#000000##FFFFFF
##4950121.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B07
Deuteranopia (green-blind)
#564C17
Tritanopia (blue-blind)
#4E4B44
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #495012;
/* rgb */ color: rgb(73, 80, 18);
/* oklch */ color: oklch(41.2% 0.083 115.8);
Tailwind
colors: {
  custom: {
    50: '#7e8155',
    500: '#495012',
    950: '#000000',
  },
}
SCSS
$custom: #495012;
$custom-light: #7e8155;
$custom-dark: #000000;
JSON
{
  "hex": "#495012",
  "rgb": {
    "r": 73,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 66.774,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41186,
    "c": 0.08309,
    "h": 115.8
  },
  "luminance": 0.07197
}

Semantic roles & 50–950 ramp

primary
#495012
secondary
#3E3589
accent
#41E654
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #495012

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

Preview Lab → · Contrast checker → · Palette generator →

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