#747A12#747A12

#747A12 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.6% C 0.118 H 113.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#747A12
RGBrgb(116, 122, 18)
HSLhsl(63, 74%, 27%)
HSVhsv(63, 85%, 48%)
CMYKcmyk(4.9%, 0%, 85.2%, 52.2%)
CIE-LABlab(49.10, -14.85, 50.32)
CIE-LCHlch(49.10, 52.46, 106.44°)
OKLaboklab(55.61% -0.0466 0.1087)
OKLCHoklch(55.61% 0.118 113.2)
XYZxyz(14.2717, 17.6761, 3.2322)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747A12 #18127A
analogous
#7A4C12 #747A12 #407A12
triadic
#747A12 #12747A #7A1274
tetradic
#747A12 #127A4C #18127A #7A1240
square
#747A12 #127A4C #18127A #7A1240
split-complementary
#747A12 #12407A #4C127A
monochromatic
#191B04 #41450A #747A12 #A7AF1A #D5DF27

Accessibility & contrast

On white

4.63
#747A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#747A12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #747A12
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##747A12#FFFFFF#000000##FFFFFF
##747A121.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#84761D
Tritanopia (blue-blind)
#7C7268
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #747a12;
/* rgb */ color: rgb(116, 122, 18);
/* oklch */ color: oklch(55.6% 0.118 113.2);
Tailwind
colors: {
  custom: {
    50: '#9fa05c',
    500: '#747a12',
    950: '#000000',
  },
}
SCSS
$custom: #747a12;
$custom-light: #9fa05c;
$custom-dark: #000000;
JSON
{
  "hex": "#747a12",
  "rgb": {
    "r": 116,
    "g": 122,
    "b": 18
  },
  "hsl": {
    "h": 63.462,
    "s": 74.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.55614,
    "c": 0.11823,
    "h": 113.2
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#747A12
secondary
#3F38B0
accent
#37F142
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #747A12

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

Preview Lab → · Contrast checker → · Palette generator →

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