#746F17#746F17

#746F17 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.0% C 0.104 H 106.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#746F17
RGBrgb(116, 111, 23)
HSLhsl(57, 67%, 27%)
HSVhsv(57, 80%, 45%)
CMYKcmyk(0%, 4.3%, 80.2%, 54.5%)
CIE-LABlab(45.83, -8.62, 45.89)
CIE-LCHlch(45.83, 46.69, 100.64°)
OKLaboklab(53.01% -0.0288 0.1002)
OKLCHoklch(53.01% 0.104 106.1)
XYZxyz(13.0421, 15.1442, 3.0466)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#746F17 #171C74
analogous
#744017 #746F17 #4B7417
triadic
#746F17 #17746F #6F1774
tetradic
#746F17 #177440 #171C74 #74174B
square
#746F17 #177440 #171C74 #74174B
split-complementary
#746F17 #174B74 #401774
monochromatic
#1A1805 #413E0D #746F17 #A7A021 #D6CD30

Accessibility & contrast

On white

5.21
#746F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#746F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #746F17
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##746F17#FFFFFF#000000##FFFFFF
##746F171.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B02
Deuteranopia (green-blind)
#7B6E1E
Tritanopia (blue-blind)
#7D675F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #746f17;
/* rgb */ color: rgb(116, 111, 23);
/* oklch */ color: oklch(53.0% 0.104 106.1);
Tailwind
colors: {
  custom: {
    50: '#9f985c',
    500: '#746f17',
    950: '#000000',
  },
}
SCSS
$custom: #746f17;
$custom-light: #9f985c;
$custom-dark: #000000;
JSON
{
  "hex": "#746f17",
  "rgb": {
    "r": 116,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 56.774,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.53007,
    "c": 0.10422,
    "h": 106.1
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#746F17
secondary
#3D43A9
accent
#47EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #746F17

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

Preview Lab → · Contrast checker → · Palette generator →

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