#495212#495212

#495212 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.7% C 0.086 H 117.3°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#495212
RGBrgb(73, 82, 18)
HSLhsl(68, 64%, 20%)
HSVhsv(68, 78%, 32%)
CMYKcmyk(11%, 0%, 78%, 67.8%)
CIE-LABlab(32.91, -13.12, 34.25)
CIE-LCHlch(32.91, 36.67, 110.97°)
OKLaboklab(41.71% -0.0393 0.0762)
OKLCHoklch(41.71% 0.086 117.3)
XYZxyz(5.8743, 7.4948, 1.7093)
Luminance0.0750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#495212 #1B1252
analogous
#523B12 #495212 #295212
triadic
#495212 #124952 #521249
tetradic
#495212 #12523B #1B1252 #521229
square
#495212 #12523B #1B1252 #521229
split-complementary
#495212 #122952 #3B1252
monochromatic
#161906 #1C2007 #495212 #76841D #A2B628

Accessibility & contrast

On white

8.40
#495212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#495212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #495212
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##495212#FFFFFF#000000##FFFFFF
##4952121.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D07
Deuteranopia (green-blind)
#574E17
Tritanopia (blue-blind)
#4E4D46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #495212;
/* rgb */ color: rgb(73, 82, 18);
/* oklch */ color: oklch(41.7% 0.086 117.3);
Tailwind
colors: {
  custom: {
    50: '#7e8255',
    500: '#495212',
    950: '#000000',
  },
}
SCSS
$custom: #495212;
$custom-light: #7e8255;
$custom-dark: #000000;
JSON
{
  "hex": "#495212",
  "rgb": {
    "r": 73,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 68.438,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.41712,
    "c": 0.08572,
    "h": 117.3
  },
  "luminance": 0.07495
}

Semantic roles & 50–950 ramp

primary
#495212
secondary
#41358B
accent
#41E758
background
#F7F7F5
surface
#EEEEE9
border
#C9C9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #495212

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

Preview Lab → · Contrast checker → · Palette generator →

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