#747E12#747E12

#747E12 is a mid, vivid yellow. Relative luminance 0.187; OKLCH L 56.6% C 0.123 H 115.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#747E12
RGBrgb(116, 126, 18)
HSLhsl(66, 75%, 28%)
HSVhsv(66, 86%, 49%)
CMYKcmyk(7.9%, 0%, 85.7%, 50.6%)
CIE-LABlab(50.31, -16.98, 51.35)
CIE-LCHlch(50.31, 54.09, 108.30°)
OKLaboklab(56.58% -0.0524 0.1109)
OKLCHoklch(56.58% 0.123 115.3)
XYZxyz(14.7729, 18.6786, 3.3993)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747E12 #1C127E
analogous
#7E5212 #747E12 #3E7E12
triadic
#747E12 #12747E #7E1274
tetradic
#747E12 #127E52 #1C127E #7E123E
square
#747E12 #127E52 #1C127E #7E123E
split-complementary
#747E12 #123E7E #52127E
monochromatic
#191B04 #43480A #747E12 #A5B41A #D0E12A

Accessibility & contrast

On white

4.43
#747E12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#747E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #747E12
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##747E12#FFFFFF#000000##000000
##747E121.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#87791E
Tritanopia (blue-blind)
#7C766B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #747e12;
/* rgb */ color: rgb(116, 126, 18);
/* oklch */ color: oklch(56.6% 0.123 115.3);
Tailwind
colors: {
  custom: {
    50: '#9fa35d',
    500: '#747e12',
    950: '#000000',
  },
}
SCSS
$custom: #747e12;
$custom-light: #9fa35d;
$custom-dark: #000000;
JSON
{
  "hex": "#747e12",
  "rgb": {
    "r": 116,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 65.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.56583,
    "c": 0.12268,
    "h": 115.3
  },
  "luminance": 0.18678
}

Semantic roles & 50–950 ramp

primary
#747E12
secondary
#4338B4
accent
#36F248
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #747E12

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

Preview Lab → · Contrast checker → · Palette generator →

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