#747F1F#747F1F

#747F1F is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 56.9% C 0.117 H 116.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#747F1F
RGBrgb(116, 127, 31)
HSLhsl(67, 61%, 31%)
HSVhsv(67, 76%, 50%)
CMYKcmyk(8.7%, 0%, 75.6%, 50.2%)
CIE-LABlab(50.68, -16.96, 47.55)
CIE-LCHlch(50.68, 50.48, 109.63°)
OKLaboklab(56.9% -0.0513 0.1052)
OKLCHoklch(56.9% 0.117 116)
XYZxyz(15.0395, 18.9909, 4.1694)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747F1F #2A1F7F
analogous
#7F5A1F #747F1F #447F1F
triadic
#747F1F #1F747F #7F1F74
tetradic
#747F1F #1F7F5A #2A1F7F #7F1F44
square
#747F1F #1F7F5A #2A1F7F #7F1F44
split-complementary
#747F1F #1F447F #5A1F7F
monochromatic
#1A1D07 #474E13 #747F1F #A1B02B #C2D246

Accessibility & contrast

On white

4.38
#747F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#747F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #747F1F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##747F1F#FFFFFF#000000##000000
##747F1F1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#88780C
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#7C776D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #747f1f;
/* rgb */ color: rgb(116, 127, 31);
/* oklch */ color: oklch(56.9% 0.117 116.0);
Tailwind
colors: {
  custom: {
    50: '#9fa462',
    500: '#747f1f',
    950: '#000000',
  },
}
SCSS
$custom: #747f1f;
$custom-light: #9fa462;
$custom-dark: #000000;
JSON
{
  "hex": "#747f1f",
  "rgb": {
    "r": 116,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 66.875,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56899,
    "c": 0.11707,
    "h": 116
  },
  "luminance": 0.18991
}

Semantic roles & 50–950 ramp

primary
#747F1F
secondary
#5448B2
accent
#44E456
background
#FAFAF6
surface
#F3F3EB
border
#CDCDC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #747F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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