#747F12#747F12

#747F12 is a mid, vivid yellow. Relative luminance 0.189; OKLCH L 56.8% C 0.124 H 115.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#747F12
RGBrgb(116, 127, 18)
HSLhsl(66, 75%, 28%)
HSVhsv(66, 86%, 50%)
CMYKcmyk(8.7%, 0%, 85.8%, 50.2%)
CIE-LABlab(50.61, -17.51, 51.61)
CIE-LCHlch(50.61, 54.50, 108.74°)
OKLaboklab(56.83% -0.0539 0.1115)
OKLCHoklch(56.83% 0.124 115.8)
XYZxyz(14.9015, 18.9357, 3.4421)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747F12 #1D127F
analogous
#7F5312 #747F12 #3D7F12
triadic
#747F12 #12747F #7F1274
tetradic
#747F12 #127F53 #1D127F #7F123D
square
#747F12 #127F53 #1D127F #7F123D
split-complementary
#747F12 #123D7F #53127F
monochromatic
#181B04 #43490A #747F12 #A5B51A #CEE12B

Accessibility & contrast

On white

4.39
#747F12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#747F12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #747F12
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##747F12#FFFFFF#000000##000000
##747F121.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#88791E
Tritanopia (blue-blind)
#7C776C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #747f12;
/* rgb */ color: rgb(116, 127, 18);
/* oklch */ color: oklch(56.8% 0.124 115.8);
Tailwind
colors: {
  custom: {
    50: '#9fa45d',
    500: '#747f12',
    950: '#000000',
  },
}
SCSS
$custom: #747f12;
$custom-light: #9fa45d;
$custom-dark: #000000;
JSON
{
  "hex": "#747f12",
  "rgb": {
    "r": 116,
    "g": 127,
    "b": 18
  },
  "hsl": {
    "h": 66.055,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56826,
    "c": 0.12381,
    "h": 115.8
  },
  "luminance": 0.18935
}

Semantic roles & 50–950 ramp

primary
#747F12
secondary
#4538B5
accent
#36F249
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #747F12

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

Preview Lab → · Contrast checker → · Palette generator →

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