#746E17#746E17

#746E17 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.8% C 0.103 H 105.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#746E17
RGBrgb(116, 110, 23)
HSLhsl(56, 67%, 27%)
HSVhsv(56, 80%, 45%)
CMYKcmyk(0%, 5.2%, 80.2%, 54.5%)
CIE-LABlab(45.53, -8.06, 45.62)
CIE-LCHlch(45.53, 46.32, 100.02°)
OKLaboklab(52.77% -0.0273 0.0996)
OKLCHoklch(52.77% 0.103 105.3)
XYZxyz(12.9336, 14.9272, 3.0104)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#746E17 #171D74
analogous
#744017 #746E17 #4C7417
triadic
#746E17 #17746E #6E1774
tetradic
#746E17 #177440 #171D74 #74174C
square
#746E17 #177440 #171D74 #74174C
split-complementary
#746E17 #174C74 #401774
monochromatic
#1A1805 #413E0D #746E17 #A79E21 #D6CB30

Accessibility & contrast

On white

5.27
#746E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#746E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #746E17
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##746E17#FFFFFF#000000##FFFFFF
##746E171.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A03
Deuteranopia (green-blind)
#7B6D1E
Tritanopia (blue-blind)
#7D665E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #746e17;
/* rgb */ color: rgb(116, 110, 23);
/* oklch */ color: oklch(52.8% 0.103 105.3);
Tailwind
colors: {
  custom: {
    50: '#9f975c',
    500: '#746e17',
    950: '#000000',
  },
}
SCSS
$custom: #746e17;
$custom-light: #9f975c;
$custom-dark: #000000;
JSON
{
  "hex": "#746e17",
  "rgb": {
    "r": 116,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 56.129,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52771,
    "c": 0.10324,
    "h": 105.3
  },
  "luminance": 0.14927
}

Semantic roles & 50–950 ramp

primary
#746E17
secondary
#3D44A9
accent
#49EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #746E17

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

Preview Lab → · Contrast checker → · Palette generator →

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