#846A17#846A17

#846A17 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.5% C 0.101 H 90.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#846A17
RGBrgb(132, 106, 23)
HSLhsl(46, 70%, 30%)
HSVhsv(46, 83%, 52%)
CMYKcmyk(0%, 19.7%, 82.6%, 48.2%)
CIE-LABlab(46.01, 1.86, 46.65)
CIE-LCHlch(46.01, 46.69, 87.71°)
OKLaboklab(53.53% -0.0001 0.101)
OKLCHoklch(53.53% 0.101 90.1)
XYZxyz(14.8253, 15.2764, 2.9782)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#846A17 #173184
analogous
#843317 #846A17 #678417
triadic
#846A17 #17846A #6A1784
tetradic
#846A17 #178433 #173184 #841767
square
#846A17 #178433 #173184 #841767
split-complementary
#846A17 #176784 #331784
monochromatic
#1C1605 #50400E #846A17 #B89420 #DCB539

Accessibility & contrast

On white

5.18
#846A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#846A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #846A17
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##846A17#FFFFFF#000000##FFFFFF
##846A171.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776904
Deuteranopia (green-blind)
#7D701C
Tritanopia (blue-blind)
#90605A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #846a17;
/* rgb */ color: rgb(132, 106, 23);
/* oklch */ color: oklch(53.5% 0.101 90.1);
Tailwind
colors: {
  custom: {
    50: '#ac945c',
    500: '#846a17',
    950: '#000000',
  },
}
SCSS
$custom: #846a17;
$custom-light: #ac945c;
$custom-dark: #000000;
JSON
{
  "hex": "#846a17",
  "rgb": {
    "r": 132,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 45.688,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5353,
    "c": 0.10099,
    "h": 90.1
  },
  "luminance": 0.15275
}

Semantic roles & 50–950 ramp

primary
#846A17
secondary
#3F5CB8
accent
#65ED3B
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #846A17

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

Preview Lab → · Contrast checker → · Palette generator →

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