#747D12#747D12

#747D12 is a mid, vivid yellow. Relative luminance 0.184; OKLCH L 56.3% C 0.122 H 114.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#747D12
RGBrgb(116, 125, 18)
HSLhsl(65, 75%, 28%)
HSVhsv(65, 86%, 49%)
CMYKcmyk(7.2%, 0%, 85.6%, 51%)
CIE-LABlab(50.01, -16.45, 51.09)
CIE-LCHlch(50.01, 53.68, 107.85°)
OKLaboklab(56.34% -0.051 0.1104)
OKLCHoklch(56.34% 0.122 114.8)
XYZxyz(14.6457, 18.4242, 3.3569)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747D12 #1B127D
analogous
#7D5012 #747D12 #3E7D12
triadic
#747D12 #12747D #7D1274
tetradic
#747D12 #127D50 #1B127D #7D123E
square
#747D12 #127D50 #1B127D #7D123E
split-complementary
#747D12 #123E7D #50127D
monochromatic
#191B04 #42480A #747D12 #A6B21A #D1E029

Accessibility & contrast

On white

4.48
#747D12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#747D12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #747D12
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##747D12#FFFFFF#000000##000000
##747D121.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#86781D
Tritanopia (blue-blind)
#7C756A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #747d12;
/* rgb */ color: rgb(116, 125, 18);
/* oklch */ color: oklch(56.3% 0.122 114.8);
Tailwind
colors: {
  custom: {
    50: '#9fa25c',
    500: '#747d12',
    950: '#000000',
  },
}
SCSS
$custom: #747d12;
$custom-light: #9fa25c;
$custom-dark: #000000;
JSON
{
  "hex": "#747d12",
  "rgb": {
    "r": 116,
    "g": 125,
    "b": 18
  },
  "hsl": {
    "h": 65.047,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5634,
    "c": 0.12156,
    "h": 114.8
  },
  "luminance": 0.18424
}

Semantic roles & 50–950 ramp

primary
#747D12
secondary
#4238B3
accent
#36F146
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #747D12

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

Preview Lab → · Contrast checker → · Palette generator →

#747D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva