#747B1F#747B1F

#747B1F is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 55.9% C 0.112 H 113.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#747B1F
RGBrgb(116, 123, 31)
HSLhsl(65, 60%, 30%)
HSVhsv(65, 75%, 48%)
CMYKcmyk(5.7%, 0%, 74.8%, 51.8%)
CIE-LABlab(49.47, -14.83, 46.39)
CIE-LCHlch(49.47, 48.70, 107.73°)
OKLaboklab(55.93% -0.0454 0.1028)
OKLCHoklch(55.93% 0.112 113.8)
XYZxyz(14.5332, 17.9781, 4.0006)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#747B1F #261F7B
analogous
#7B541F #747B1F #467B1F
triadic
#747B1F #1F747B #7B1F74
tetradic
#747B1F #1F7B54 #261F7B #7B1F46
square
#747B1F #1F7B54 #261F7B #7B1F46
split-complementary
#747B1F #1F467B #541F7B
monochromatic
#181906 #464A13 #747B1F #A2AC2B #C5D044

Accessibility & contrast

On white

4.57
#747B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#747B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #747B1F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##747B1F#FFFFFF#000000##000000
##747B1F1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84750E
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#7C7369
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #747b1f;
/* rgb */ color: rgb(116, 123, 31);
/* oklch */ color: oklch(55.9% 0.112 113.8);
Tailwind
colors: {
  custom: {
    50: '#9fa162',
    500: '#747b1f',
    950: '#000000',
  },
}
SCSS
$custom: #747b1f;
$custom-light: #9fa162;
$custom-dark: #000000;
JSON
{
  "hex": "#747b1f",
  "rgb": {
    "r": 116,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 64.565,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55931,
    "c": 0.11235,
    "h": 113.8
  },
  "luminance": 0.17978
}

Semantic roles & 50–950 ramp

primary
#747B1F
secondary
#4F48AE
accent
#45E351
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #747B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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