#848221#848221

#848221 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.0% C 0.115 H 108.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#848221
RGBrgb(132, 130, 33)
HSLhsl(59, 60%, 32%)
HSVhsv(59, 75%, 52%)
CMYKcmyk(0%, 1.5%, 75%, 48.2%)
CIE-LABlab(52.93, -11.19, 49.43)
CIE-LCHlch(52.93, 50.68, 102.75°)
OKLaboklab(59.04% -0.0359 0.109)
OKLCHoklch(59.04% 0.115 108.3)
XYZxyz(17.7735, 20.9812, 4.5521)
Luminance0.2098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#848221 #212384
analogous
#845121 #848221 #548421
triadic
#848221 #218482 #822184
tetradic
#848221 #218451 #212384 #842154
square
#848221 #218451 #212384 #842154
split-complementary
#848221 #215484 #512184
monochromatic
#222209 #535215 #848221 #B5B22D #D2D04D

Accessibility & contrast

On white

4.04
#848221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#848221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #848221
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##848221#FFFFFF#000000##000000
##8482211.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D0E
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#8E796F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #848221;
/* rgb */ color: rgb(132, 130, 33);
/* oklch */ color: oklch(59.0% 0.115 108.3);
Tailwind
colors: {
  custom: {
    50: '#aba664',
    500: '#848221',
    950: '#000000',
  },
}
SCSS
$custom: #848221;
$custom-light: #aba664;
$custom-dark: #000000;
JSON
{
  "hex": "#848221",
  "rgb": {
    "r": 132,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 58.788,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59038,
    "c": 0.11478,
    "h": 108.3
  },
  "luminance": 0.20981
}

Semantic roles & 50–950 ramp

primary
#848221
secondary
#4B4DB6
accent
#48E345
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #848221

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

Preview Lab → · Contrast checker → · Palette generator →

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