#747012#747012

#747012 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.2% C 0.108 H 106.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#747012
RGBrgb(116, 112, 18)
HSLhsl(58, 73%, 26%)
HSVhsv(58, 84%, 45%)
CMYKcmyk(0%, 3.4%, 84.5%, 54.5%)
CIE-LABlab(46.10, -9.37, 47.74)
CIE-LCHlch(46.10, 48.65, 101.11°)
OKLaboklab(53.22% -0.0314 0.1031)
OKLCHoklch(53.22% 0.108 106.9)
XYZxyz(13.1064, 15.3455, 2.8437)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747012 #121674
analogous
#743F12 #747012 #477412
triadic
#747012 #127470 #701274
tetradic
#747012 #12743F #121674 #741247
square
#747012 #12743F #121674 #741247
split-complementary
#747012 #124774 #3F1274
monochromatic
#1A1A04 #3F3D0A #747012 #A9A31A #DDD523

Accessibility & contrast

On white

5.16
#747012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#747012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #747012
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##747012#FFFFFF#000000##FFFFFF
##7470121.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7C6F1B
Tritanopia (blue-blind)
#7D685F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #747012;
/* rgb */ color: rgb(116, 112, 18);
/* oklch */ color: oklch(53.2% 0.108 106.9);
Tailwind
colors: {
  custom: {
    50: '#9f985a',
    500: '#747012',
    950: '#000000',
  },
}
SCSS
$custom: #747012;
$custom-light: #9f985a;
$custom-dark: #000000;
JSON
{
  "hex": "#747012",
  "rgb": {
    "r": 116,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 57.551,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.53217,
    "c": 0.10777,
    "h": 106.9
  },
  "luminance": 0.15345
}

Semantic roles & 50–950 ramp

primary
#747012
secondary
#373CAB
accent
#3FF038
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #747012

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

Preview Lab → · Contrast checker → · Palette generator →

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