#846918#846918

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

Color values

HEX#846918
RGBrgb(132, 105, 24)
HSLhsl(45, 69%, 31%)
HSVhsv(45, 82%, 52%)
CMYKcmyk(0%, 20.5%, 81.8%, 48.2%)
CIE-LABlab(45.74, 2.48, 46.05)
CIE-LCHlch(45.74, 46.12, 86.92°)
OKLaboklab(53.32% 0.0018 0.0999)
OKLCHoklch(53.32% 0.1 89)
XYZxyz(14.7331, 15.0756, 2.9979)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#846918 #183384
analogous
#843318 #846918 #698418
triadic
#846918 #188469 #691884
tetradic
#846918 #188433 #183384 #841869
square
#846918 #188433 #183384 #841869
split-complementary
#846918 #186984 #331884
monochromatic
#1C1705 #50400F #846918 #B89221 #DBB33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##846918#FFFFFF#000000##FFFFFF
##8469181.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)
#766806
Deuteranopia (green-blind)
#7D6F1D
Tritanopia (blue-blind)
#905F5A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #846918;
/* rgb */ color: rgb(132, 105, 24);
/* oklch */ color: oklch(53.3% 0.100 89.0);
Tailwind
colors: {
  custom: {
    50: '#ac935c',
    500: '#846918',
    950: '#000000',
  },
}
SCSS
$custom: #846918;
$custom-light: #ac935c;
$custom-dark: #000000;
JSON
{
  "hex": "#846918",
  "rgb": {
    "r": 132,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 45,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53317,
    "c": 0.09994,
    "h": 89
  },
  "luminance": 0.15075
}

Semantic roles & 50–950 ramp

primary
#846918
secondary
#405EB8
accent
#68EC3C
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #846918

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

Preview Lab → · Contrast checker → · Palette generator →

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