#494812#494812

#494812 is a dark, moderate yellow. Relative luminance 0.061; OKLCH L 39.1% C 0.073 H 108.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#494812
RGBrgb(73, 72, 18)
HSLhsl(59, 60%, 18%)
HSVhsv(59, 75%, 29%)
CMYKcmyk(0%, 1.4%, 75.3%, 71.4%)
CIE-LABlab(29.65, -7.27, 31.02)
CIE-LCHlch(29.65, 31.86, 103.19°)
OKLaboklab(39.1% -0.023 0.0694)
OKLCHoklch(39.1% 0.073 108.3)
XYZxyz(5.1744, 6.0950, 1.4760)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#494812 #121349
analogous
#492C12 #494812 #2E4912
triadic
#494812 #124948 #481249
tetradic
#494812 #12492C #121349 #49122E
square
#494812 #12492C #121349 #49122E
split-complementary
#494812 #122E49 #2C1249
monochromatic
#191806 #191806 #494812 #7A781E #ABA92A

Accessibility & contrast

On white

9.46
#494812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#494812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #494812
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##494812#FFFFFF#000000##FFFFFF
##4948121.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450A
Deuteranopia (green-blind)
#4F4716
Tritanopia (blue-blind)
#4F433D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #494812;
/* rgb */ color: rgb(73, 72, 18);
/* oklch */ color: oklch(39.1% 0.073 108.3);
Tailwind
colors: {
  custom: {
    50: '#7e7a54',
    500: '#494812',
    950: '#000000',
  },
}
SCSS
$custom: #494812;
$custom-light: #7e7a54;
$custom-dark: #000000;
JSON
{
  "hex": "#494812",
  "rgb": {
    "r": 73,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 58.909,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.39104,
    "c": 0.07309,
    "h": 108.3
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#494812
secondary
#353682
accent
#47E444
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #494812

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

Preview Lab → · Contrast checker → · Palette generator →

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