#746B17#746B17

#746B17 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.1% C 0.100 H 103.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#746B17
RGBrgb(116, 107, 23)
HSLhsl(54, 67%, 27%)
HSVhsv(54, 80%, 45%)
CMYKcmyk(0%, 7.8%, 80.2%, 54.5%)
CIE-LABlab(44.65, -6.36, 44.81)
CIE-LCHlch(44.65, 45.26, 98.08°)
OKLaboklab(52.07% -0.0225 0.0978)
OKLCHoklch(52.07% 0.1 103)
XYZxyz(12.6154, 14.2908, 2.9043)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#746B17 #172074
analogous
#743D17 #746B17 #4E7417
triadic
#746B17 #17746B #6B1774
tetradic
#746B17 #17743D #172074 #74174E
square
#746B17 #17743D #172074 #74174E
split-complementary
#746B17 #174E74 #3D1774
monochromatic
#1A1805 #413C0D #746B17 #A79A21 #D6C630

Accessibility & contrast

On white

5.44
#746B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#746B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #746B17
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##746B17#FFFFFF#000000##FFFFFF
##746B171.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766704
Deuteranopia (green-blind)
#786B1D
Tritanopia (blue-blind)
#7D635B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #746b17;
/* rgb */ color: rgb(116, 107, 23);
/* oklch */ color: oklch(52.1% 0.100 103.0);
Tailwind
colors: {
  custom: {
    50: '#9f955c',
    500: '#746b17',
    950: '#000000',
  },
}
SCSS
$custom: #746b17;
$custom-light: #9f955c;
$custom-dark: #000000;
JSON
{
  "hex": "#746b17",
  "rgb": {
    "r": 116,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 54.194,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52065,
    "c": 0.10039,
    "h": 103
  },
  "luminance": 0.1429
}

Semantic roles & 50–950 ramp

primary
#746B17
secondary
#3D48A9
accent
#4FEA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #746B17

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

Preview Lab → · Contrast checker → · Palette generator →

#746B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva