#846D17#846D17

#846D17 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.2% C 0.103 H 92.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#846D17
RGBrgb(132, 109, 23)
HSLhsl(47, 70%, 30%)
HSVhsv(47, 83%, 52%)
CMYKcmyk(0%, 17.4%, 82.6%, 48.2%)
CIE-LABlab(46.85, 0.13, 47.40)
CIE-LCHlch(46.85, 47.40, 89.84°)
OKLaboklab(54.19% -0.005 0.1026)
OKLCHoklch(54.19% 0.103 92.8)
XYZxyz(15.1399, 15.9056, 3.0831)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#846D17 #172E84
analogous
#843617 #846D17 #658417
triadic
#846D17 #17846D #6D1784
tetradic
#846D17 #178436 #172E84 #841765
square
#846D17 #178436 #172E84 #841765
split-complementary
#846D17 #176584 #361784
monochromatic
#1C1705 #50420E #846D17 #B89820 #DCBA39

Accessibility & contrast

On white

5.02
#846D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#846D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #846D17
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##846D17#FFFFFF#000000##FFFFFF
##846D171.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#80721D
Tritanopia (blue-blind)
#8F635D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #846d17;
/* rgb */ color: rgb(132, 109, 23);
/* oklch */ color: oklch(54.2% 0.103 92.8);
Tailwind
colors: {
  custom: {
    50: '#ac965d',
    500: '#846d17',
    950: '#000000',
  },
}
SCSS
$custom: #846d17;
$custom-light: #ac965d;
$custom-dark: #000000;
JSON
{
  "hex": "#846d17",
  "rgb": {
    "r": 132,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 47.339,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54193,
    "c": 0.10272,
    "h": 92.8
  },
  "luminance": 0.15905
}

Semantic roles & 50–950 ramp

primary
#846D17
secondary
#3F58B8
accent
#60ED3B
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #846D17

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

Preview Lab → · Contrast checker → · Palette generator →

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