#8B821E#8B821E

#8B821E is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.7% C 0.116 H 104.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8B821E
RGBrgb(139, 130, 30)
HSLhsl(55, 64%, 33%)
HSVhsv(55, 78%, 55%)
CMYKcmyk(0%, 6.5%, 78.4%, 45.5%)
CIE-LABlab(53.55, -8.10, 51.31)
CIE-LCHlch(53.55, 51.94, 98.97°)
OKLaboklab(59.68% -0.028 0.1121)
OKLCHoklch(59.68% 0.116 104)
XYZxyz(18.8653, 21.5488, 4.3936)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B821E #1E278B
analogous
#8B4B1E #8B821E #5D8B1E
triadic
#8B821E #1E8B82 #821E8B
tetradic
#8B821E #1E8B4B #1E278B #8B1E5D
square
#8B821E #1E8B4B #1E278B #8B1E5D
split-complementary
#8B821E #1E5D8B #4B1E8B
monochromatic
#262408 #595313 #8B821E #BDB129 #D8CD4B

Accessibility & contrast

On white

3.96
#8B821E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8B821E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B821E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B821E#FFFFFF#000000##000000
##8B821E1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D06
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#96786F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8b821e;
/* rgb */ color: rgb(139, 130, 30);
/* oklch */ color: oklch(59.7% 0.116 104.0);
Tailwind
colors: {
  custom: {
    50: '#b0a663',
    500: '#8b821e',
    950: '#000000',
  },
}
SCSS
$custom: #8b821e;
$custom-light: #b0a663;
$custom-dark: #000000;
JSON
{
  "hex": "#8b821e",
  "rgb": {
    "r": 139,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 55.046,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.11556,
    "h": 104
  },
  "luminance": 0.21548
}

Semantic roles & 50–950 ramp

primary
#8B821E
secondary
#4A53BB
accent
#4EE740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B821E

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

Preview Lab → · Contrast checker → · Palette generator →

#8B821E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva