#846C17#846C17

#846C17 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 54.0% C 0.102 H 91.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#846C17
RGBrgb(132, 108, 23)
HSLhsl(47, 70%, 30%)
HSVhsv(47, 83%, 52%)
CMYKcmyk(0%, 18.2%, 82.6%, 48.2%)
CIE-LABlab(46.57, 0.71, 47.15)
CIE-LCHlch(46.57, 47.16, 89.14°)
OKLaboklab(53.97% -0.0034 0.1021)
OKLCHoklch(53.97% 0.102 91.9)
XYZxyz(15.0338, 15.6935, 3.0477)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#846C17 #172F84
analogous
#843517 #846C17 #658417
triadic
#846C17 #17846C #6C1784
tetradic
#846C17 #178435 #172F84 #841765
square
#846C17 #178435 #172F84 #841765
split-complementary
#846C17 #176584 #351784
monochromatic
#1C1705 #50410E #846C17 #B89720 #DCB839

Accessibility & contrast

On white

5.07
#846C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#846C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #846C17
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##846C17#FFFFFF#000000##FFFFFF
##846C171.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#7F711D
Tritanopia (blue-blind)
#8F625C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #846c17;
/* rgb */ color: rgb(132, 108, 23);
/* oklch */ color: oklch(54.0% 0.102 91.9);
Tailwind
colors: {
  custom: {
    50: '#ac955c',
    500: '#846c17',
    950: '#000000',
  },
}
SCSS
$custom: #846c17;
$custom-light: #ac955c;
$custom-dark: #000000;
JSON
{
  "hex": "#846c17",
  "rgb": {
    "r": 132,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 46.789,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53971,
    "c": 0.10212,
    "h": 91.9
  },
  "luminance": 0.15693
}

Semantic roles & 50–950 ramp

primary
#846C17
secondary
#3F59B8
accent
#62ED3B
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #846C17

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

Preview Lab → · Contrast checker → · Palette generator →

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