#846B17#846B17

#846B17 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.8% C 0.102 H 91.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#846B17
RGBrgb(132, 107, 23)
HSLhsl(46, 70%, 30%)
HSVhsv(46, 83%, 52%)
CMYKcmyk(0%, 18.9%, 82.6%, 48.2%)
CIE-LABlab(46.29, 1.28, 46.90)
CIE-LCHlch(46.29, 46.92, 88.43°)
OKLaboklab(53.75% -0.0018 0.1015)
OKLCHoklch(53.75% 0.102 91)
XYZxyz(14.9290, 15.4837, 3.0128)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#846B17 #173084
analogous
#843517 #846B17 #668417
triadic
#846B17 #17846B #6B1784
tetradic
#846B17 #178435 #173084 #841766
square
#846B17 #178435 #173084 #841766
split-complementary
#846B17 #176684 #351784
monochromatic
#1C1705 #50410E #846B17 #B89520 #DCB739

Accessibility & contrast

On white

5.13
#846B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#846B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #846B17
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##846B17#FFFFFF#000000##FFFFFF
##846B171.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A03
Deuteranopia (green-blind)
#7E711C
Tritanopia (blue-blind)
#90615B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #846b17;
/* rgb */ color: rgb(132, 107, 23);
/* oklch */ color: oklch(53.8% 0.102 91.0);
Tailwind
colors: {
  custom: {
    50: '#ac955c',
    500: '#846b17',
    950: '#000000',
  },
}
SCSS
$custom: #846b17;
$custom-light: #ac955c;
$custom-dark: #000000;
JSON
{
  "hex": "#846b17",
  "rgb": {
    "r": 132,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 46.239,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5375,
    "c": 0.10154,
    "h": 91
  },
  "luminance": 0.15483
}

Semantic roles & 50–950 ramp

primary
#846B17
secondary
#3F5BB8
accent
#64ED3B
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #846B17

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

Preview Lab → · Contrast checker → · Palette generator →

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