#846F17#846F17

#846F17 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.6% C 0.104 H 94.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#846F17
RGBrgb(132, 111, 23)
HSLhsl(48, 70%, 30%)
HSVhsv(48, 83%, 52%)
CMYKcmyk(0%, 15.9%, 82.6%, 48.2%)
CIE-LABlab(47.41, -1.01, 47.90)
CIE-LCHlch(47.41, 47.92, 91.21°)
OKLaboklab(54.64% -0.0083 0.1037)
OKLCHoklch(54.64% 0.104 94.6)
XYZxyz(15.3557, 16.3372, 3.1550)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#846F17 #172C84
analogous
#843817 #846F17 #638417
triadic
#846F17 #17846F #6F1784
tetradic
#846F17 #178438 #172C84 #841763
square
#846F17 #178438 #172C84 #841763
split-complementary
#846F17 #176384 #381784
monochromatic
#1C1705 #50430E #846F17 #B89B20 #DCBD39

Accessibility & contrast

On white

4.92
#846F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#846F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #846F17
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##846F17#FFFFFF#000000##FFFFFF
##846F171.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D02
Deuteranopia (green-blind)
#81731D
Tritanopia (blue-blind)
#8F655F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #846f17;
/* rgb */ color: rgb(132, 111, 23);
/* oklch */ color: oklch(54.6% 0.104 94.6);
Tailwind
colors: {
  custom: {
    50: '#ac985d',
    500: '#846f17',
    950: '#000000',
  },
}
SCSS
$custom: #846f17;
$custom-light: #ac985d;
$custom-dark: #000000;
JSON
{
  "hex": "#846f17",
  "rgb": {
    "r": 132,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 48.44,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54638,
    "c": 0.10401,
    "h": 94.6
  },
  "luminance": 0.16336
}

Semantic roles & 50–950 ramp

primary
#846F17
secondary
#3F56B8
accent
#5DED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #846F17

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

Preview Lab → · Contrast checker → · Palette generator →

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