#747E1F#747E1F

#747E1F is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.7% C 0.116 H 115.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#747E1F
RGBrgb(116, 126, 31)
HSLhsl(66, 61%, 31%)
HSVhsv(66, 75%, 49%)
CMYKcmyk(7.9%, 0%, 75.4%, 50.6%)
CIE-LABlab(50.37, -16.43, 47.26)
CIE-LCHlch(50.37, 50.03, 109.17°)
OKLaboklab(56.66% -0.0498 0.1046)
OKLCHoklch(56.66% 0.116 115.5)
XYZxyz(14.9110, 18.7339, 4.1266)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747E1F #291F7E
analogous
#7E581F #747E1F #447E1F
triadic
#747E1F #1F747E #7E1F74
tetradic
#747E1F #1F7E58 #291F7E #7E1F44
square
#747E1F #1F7E58 #291F7E #7E1F44
split-complementary
#747E1F #1F447E #581F7E
monochromatic
#1A1C07 #474D13 #747E1F #A1AF2B #C3D146

Accessibility & contrast

On white

4.42
#747E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#747E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #747E1F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##747E1F#FFFFFF#000000##000000
##747E1F1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770C
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#7C766C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #747e1f;
/* rgb */ color: rgb(116, 126, 31);
/* oklch */ color: oklch(56.7% 0.116 115.5);
Tailwind
colors: {
  custom: {
    50: '#9fa362',
    500: '#747e1f',
    950: '#000000',
  },
}
SCSS
$custom: #747e1f;
$custom-light: #9fa362;
$custom-dark: #000000;
JSON
{
  "hex": "#747e1f",
  "rgb": {
    "r": 116,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 66.316,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56656,
    "c": 0.11588,
    "h": 115.5
  },
  "luminance": 0.18734
}

Semantic roles & 50–950 ramp

primary
#747E1F
secondary
#5348B1
accent
#44E455
background
#FAFAF6
surface
#F3F3EB
border
#CDCDC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #747E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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