#846917#846917

#846917 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.3% C 0.100 H 89.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#846917
RGBrgb(132, 105, 23)
HSLhsl(45, 70%, 30%)
HSVhsv(45, 83%, 52%)
CMYKcmyk(0%, 20.5%, 82.6%, 48.2%)
CIE-LABlab(45.73, 2.44, 46.41)
CIE-LCHlch(45.73, 46.47, 86.99°)
OKLaboklab(53.31% 0.0015 0.1005)
OKLCHoklch(53.31% 0.1 89.1)
XYZxyz(14.7229, 15.0715, 2.9441)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#846917 #173284
analogous
#843317 #846917 #688417
triadic
#846917 #178469 #691784
tetradic
#846917 #178433 #173284 #841768
square
#846917 #178433 #173284 #841768
split-complementary
#846917 #176884 #331784
monochromatic
#1C1605 #50400E #846917 #B89220 #DCB439

Accessibility & contrast

On white

5.23
#846917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#846917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #846917
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##846917#FFFFFF#000000##FFFFFF
##8469171.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766804
Deuteranopia (green-blind)
#7D6F1C
Tritanopia (blue-blind)
#905F5A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #846917;
/* rgb */ color: rgb(132, 105, 23);
/* oklch */ color: oklch(53.3% 0.100 89.1);
Tailwind
colors: {
  custom: {
    50: '#ac935c',
    500: '#846917',
    950: '#000000',
  },
}
SCSS
$custom: #846917;
$custom-light: #ac935c;
$custom-dark: #000000;
JSON
{
  "hex": "#846917",
  "rgb": {
    "r": 132,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 45.138,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53311,
    "c": 0.10046,
    "h": 89.1
  },
  "luminance": 0.15071
}

Semantic roles & 50–950 ramp

primary
#846917
secondary
#3F5DB8
accent
#67ED3B
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #846917

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

Preview Lab → · Contrast checker → · Palette generator →

#846917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva