#746212#746212

#746212 is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.9% C 0.096 H 95.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#746212
RGBrgb(116, 98, 18)
HSLhsl(49, 73%, 26%)
HSVhsv(49, 84%, 45%)
CMYKcmyk(0%, 15.5%, 84.5%, 54.5%)
CIE-LABlab(41.99, -1.37, 44.15)
CIE-LCHlch(41.99, 44.17, 91.78°)
OKLaboklab(49.95% -0.0089 0.0954)
OKLCHoklch(49.95% 0.096 95.3)
XYZxyz(11.6800, 12.4927, 2.3683)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#746212 #122474
analogous
#743112 #746212 #557412
triadic
#746212 #127462 #621274
tetradic
#746212 #127431 #122474 #741255
square
#746212 #127431 #122474 #741255
split-complementary
#746212 #125574 #311274
monochromatic
#1A1604 #3F350A #746212 #A98F1A #DDBB23

Accessibility & contrast

On white

6.00
#746212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#746212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #746212
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##746212#FFFFFF#000000##FFFFFF
##7462121.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6000
Deuteranopia (green-blind)
#726518
Tritanopia (blue-blind)
#7E5953
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #746212;
/* rgb */ color: rgb(116, 98, 18);
/* oklch */ color: oklch(49.9% 0.096 95.3);
Tailwind
colors: {
  custom: {
    50: '#a08e58',
    500: '#746212',
    950: '#000000',
  },
}
SCSS
$custom: #746212;
$custom-light: #a08e58;
$custom-dark: #000000;
JSON
{
  "hex": "#746212",
  "rgb": {
    "r": 116,
    "g": 98,
    "b": 18
  },
  "hsl": {
    "h": 48.98,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49948,
    "c": 0.09576,
    "h": 95.3
  },
  "luminance": 0.12492
}

Semantic roles & 50–950 ramp

primary
#746212
secondary
#374CAB
accent
#5AF038
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #746212

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

Preview Lab → · Contrast checker → · Palette generator →

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