#746217#746217

#746217 is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 50.0% C 0.093 H 94.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#746217
RGBrgb(116, 98, 23)
HSLhsl(48, 67%, 27%)
HSVhsv(48, 80%, 45%)
CMYKcmyk(0%, 15.5%, 80.2%, 54.5%)
CIE-LABlab(42.02, -1.17, 42.38)
CIE-LCHlch(42.02, 42.40, 91.58°)
OKLaboklab(49.98% -0.0078 0.0927)
OKLCHoklch(49.98% 0.093 94.8)
XYZxyz(11.7254, 12.5109, 2.6077)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#746217 #172974
analogous
#743417 #746217 #587417
triadic
#746217 #177462 #621774
tetradic
#746217 #177434 #172974 #741758
square
#746217 #177434 #172974 #741758
split-complementary
#746217 #175874 #341774
monochromatic
#1A1605 #41370D #746217 #A78D21 #D6B630

Accessibility & contrast

On white

6.00
#746217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#746217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #746217
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##746217#FFFFFF#000000##FFFFFF
##7462171.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6008
Deuteranopia (green-blind)
#72651C
Tritanopia (blue-blind)
#7E5A54
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #746217;
/* rgb */ color: rgb(116, 98, 23);
/* oklch */ color: oklch(50.0% 0.093 94.8);
Tailwind
colors: {
  custom: {
    50: '#9f8e5b',
    500: '#746217',
    950: '#000000',
  },
}
SCSS
$custom: #746217;
$custom-light: #9f8e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#746217",
  "rgb": {
    "r": 116,
    "g": 98,
    "b": 23
  },
  "hsl": {
    "h": 48.387,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49979,
    "c": 0.09299,
    "h": 94.8
  },
  "luminance": 0.1251
}

Semantic roles & 50–950 ramp

primary
#746217
secondary
#3D52A9
accent
#5FEA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0C04
muted
#7F7D79

Preview Lab

Preview with #746217

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

Preview Lab → · Contrast checker → · Palette generator →

#746217 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva