#747A1F#747A1F

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

Color values

HEX#747A1F
RGBrgb(116, 122, 31)
HSLhsl(64, 59%, 30%)
HSVhsv(64, 75%, 48%)
CMYKcmyk(4.9%, 0%, 74.6%, 52.2%)
CIE-LABlab(49.17, -14.29, 46.10)
CIE-LCHlch(49.17, 48.26, 107.22°)
OKLaboklab(55.69% -0.0439 0.1022)
OKLCHoklch(55.69% 0.111 113.2)
XYZxyz(14.4097, 17.7313, 3.9595)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747A1F #251F7A
analogous
#7A521F #747A1F #477A1F
triadic
#747A1F #1F747A #7A1F74
tetradic
#747A1F #1F7A52 #251F7A #7A1F47
square
#747A1F #1F7A52 #251F7A #7A1F47
split-complementary
#747A1F #1F477A #521F7A
monochromatic
#171806 #464913 #747A1F #A2AB2B #C6CF44

Accessibility & contrast

On white

4.62
#747A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#747A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #747A1F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##747A1F#FFFFFF#000000##FFFFFF
##747A1F1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740E
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#7C7268
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #747a1f;
/* rgb */ color: rgb(116, 122, 31);
/* oklch */ color: oklch(55.7% 0.111 113.2);
Tailwind
colors: {
  custom: {
    50: '#9fa062',
    500: '#747a1f',
    950: '#000000',
  },
}
SCSS
$custom: #747a1f;
$custom-light: #9fa062;
$custom-dark: #000000;
JSON
{
  "hex": "#747a1f",
  "rgb": {
    "r": 116,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 63.956,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.55689,
    "c": 0.11119,
    "h": 113.2
  },
  "luminance": 0.17731
}

Semantic roles & 50–950 ramp

primary
#747A1F
secondary
#4E47AD
accent
#45E350
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #747A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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