#747F0F#747F0F

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

Color values

HEX#747F0F
RGBrgb(116, 127, 15)
HSLhsl(66, 79%, 28%)
HSVhsv(66, 88%, 50%)
CMYKcmyk(8.7%, 0%, 88.2%, 50.2%)
CIE-LABlab(50.60, -17.60, 52.34)
CIE-LCHlch(50.60, 55.22, 108.59°)
OKLaboklab(56.81% -0.0543 0.1125)
OKLCHoklch(56.81% 0.125 115.8)
XYZxyz(14.8785, 18.9265, 3.3212)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747F0F #1A0F7F
analogous
#7F520F #747F0F #3C7F0F
triadic
#747F0F #0F747F #7F0F74
tetradic
#747F0F #0F7F52 #1A0F7F #7F0F3C
square
#747F0F #0F7F52 #1A0F7F #7F0F3C
split-complementary
#747F0F #0F3C7F #520F7F
monochromatic
#191B03 #424809 #747F0F #A6B615 #D2E523

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##747F0F#FFFFFF#000000##000000
##747F0F1.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)
#88791C
Tritanopia (blue-blind)
#7C776C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #747f0f;
/* rgb */ color: rgb(116, 127, 15);
/* oklch */ color: oklch(56.8% 0.125 115.8);
Tailwind
colors: {
  custom: {
    50: '#a0a45c',
    500: '#747f0f',
    950: '#000000',
  },
}
SCSS
$custom: #747f0f;
$custom-light: #a0a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#747f0f",
  "rgb": {
    "r": 116,
    "g": 127,
    "b": 15
  },
  "hsl": {
    "h": 65.893,
    "s": 78.873,
    "l": 27.843
  },
  "oklch": {
    "l": 0.56814,
    "c": 0.12496,
    "h": 115.8
  },
  "luminance": 0.18926
}

Semantic roles & 50–950 ramp

primary
#747F0F
secondary
#4134B5
accent
#32F546
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #747F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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