#747F1B#747F1B

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

Color values

HEX#747F1B
RGBrgb(116, 127, 27)
HSLhsl(67, 65%, 30%)
HSVhsv(67, 79%, 50%)
CMYKcmyk(8.7%, 0%, 78.7%, 50.2%)
CIE-LABlab(50.65, -17.16, 48.94)
CIE-LCHlch(50.65, 51.86, 109.32°)
OKLaboklab(56.87% -0.0522 0.1074)
OKLCHoklch(56.87% 0.119 115.9)
XYZxyz(14.9901, 18.9711, 3.9088)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747F1B #261B7F
analogous
#7F581B #747F1B #427F1B
triadic
#747F1B #1B747F #7F1B74
tetradic
#747F1B #1B7F58 #261B7F #7F1B42
square
#747F1B #1B7F58 #261B7F #7F1B42
split-complementary
#747F1B #1B427F #581B7F
monochromatic
#181A06 #464D10 #747F1B #A2B126 #C5D63E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##747F1B#FFFFFF#000000##000000
##747F1B1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887802
Deuteranopia (green-blind)
#887924
Tritanopia (blue-blind)
#7C776C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #747f1b;
/* rgb */ color: rgb(116, 127, 27);
/* oklch */ color: oklch(56.9% 0.119 115.9);
Tailwind
colors: {
  custom: {
    50: '#9fa460',
    500: '#747f1b',
    950: '#000000',
  },
}
SCSS
$custom: #747f1b;
$custom-light: #9fa460;
$custom-dark: #000000;
JSON
{
  "hex": "#747f1b",
  "rgb": {
    "r": 116,
    "g": 127,
    "b": 27
  },
  "hsl": {
    "h": 66.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.56873,
    "c": 0.11944,
    "h": 115.9
  },
  "luminance": 0.18971
}

Semantic roles & 50–950 ramp

primary
#747F1B
secondary
#4F43B3
accent
#40E852
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #747F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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