#846F18#846F18

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

Color values

HEX#846F18
RGBrgb(132, 111, 24)
HSLhsl(48, 69%, 31%)
HSVhsv(48, 82%, 52%)
CMYKcmyk(0%, 15.9%, 81.8%, 48.2%)
CIE-LABlab(47.42, -0.98, 47.57)
CIE-LCHlch(47.42, 47.58, 91.18°)
OKLaboklab(54.64% -0.0081 0.1032)
OKLCHoklch(54.64% 0.104 94.5)
XYZxyz(15.3659, 16.3413, 3.2088)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#846F18 #182D84
analogous
#843918 #846F18 #638418
triadic
#846F18 #18846F #6F1884
tetradic
#846F18 #188439 #182D84 #841863
square
#846F18 #188439 #182D84 #841863
split-complementary
#846F18 #186384 #391884
monochromatic
#1C1805 #50430F #846F18 #B89B21 #DBBC3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##846F18#FFFFFF#000000##FFFFFF
##846F181.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)
#7C6D04
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#8F655F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #846f18;
/* rgb */ color: rgb(132, 111, 24);
/* oklch */ color: oklch(54.6% 0.103 94.5);
Tailwind
colors: {
  custom: {
    50: '#ac985d',
    500: '#846f18',
    950: '#000000',
  },
}
SCSS
$custom: #846f18;
$custom-light: #ac985d;
$custom-dark: #000000;
JSON
{
  "hex": "#846f18",
  "rgb": {
    "r": 132,
    "g": 111,
    "b": 24
  },
  "hsl": {
    "h": 48.333,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54644,
    "c": 0.1035,
    "h": 94.5
  },
  "luminance": 0.1634
}

Semantic roles & 50–950 ramp

primary
#846F18
secondary
#4057B8
accent
#5EEC3C
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #846F18

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

Preview Lab → · Contrast checker → · Palette generator →

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