#848321#848321

#848321 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.3% C 0.116 H 108.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#848321
RGBrgb(132, 131, 33)
HSLhsl(59, 60%, 32%)
HSVhsv(59, 75%, 52%)
CMYKcmyk(0%, 0.8%, 75%, 48.2%)
CIE-LABlab(53.22, -11.73, 49.71)
CIE-LCHlch(53.22, 51.07, 103.27°)
OKLaboklab(59.27% -0.0375 0.1096)
OKLCHoklch(59.27% 0.116 108.9)
XYZxyz(17.9072, 21.2485, 4.5966)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848321 #212284
analogous
#845221 #848321 #548421
triadic
#848321 #218483 #832184
tetradic
#848321 #218452 #212284 #842154
square
#848321 #218452 #212284 #842154
split-complementary
#848321 #215484 #522184
monochromatic
#222209 #535215 #848321 #B5B42D #D2D14D

Accessibility & contrast

On white

4.00
#848321 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#848321 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848321
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848321#FFFFFF#000000##000000
##8483211.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0D
Deuteranopia (green-blind)
#8F8129
Tritanopia (blue-blind)
#8E7A70
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #848321;
/* rgb */ color: rgb(132, 131, 33);
/* oklch */ color: oklch(59.3% 0.116 108.9);
Tailwind
colors: {
  custom: {
    50: '#aba664',
    500: '#848321',
    950: '#000000',
  },
}
SCSS
$custom: #848321;
$custom-light: #aba664;
$custom-dark: #000000;
JSON
{
  "hex": "#848321",
  "rgb": {
    "r": 132,
    "g": 131,
    "b": 33
  },
  "hsl": {
    "h": 59.394,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5927,
    "c": 0.11582,
    "h": 108.9
  },
  "luminance": 0.21248
}

Semantic roles & 50–950 ramp

primary
#848321
secondary
#4B4CB6
accent
#46E345
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #848321

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

Preview Lab → · Contrast checker → · Palette generator →

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