#8B822B#8B822B

#8B822B is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.8% C 0.107 H 103.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8B822B
RGBrgb(139, 130, 43)
HSLhsl(54, 53%, 36%)
HSVhsv(54, 69%, 55%)
CMYKcmyk(0%, 6.5%, 69.1%, 45.5%)
CIE-LABlab(53.63, -7.44, 46.32)
CIE-LCHlch(53.63, 46.92, 99.12°)
OKLaboklab(59.77% -0.0247 0.1041)
OKLCHoklch(59.77% 0.107 103.4)
XYZxyz(19.0669, 21.6294, 5.4556)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B822B #2B348B
analogous
#8B522B #8B822B #648B2B
triadic
#8B822B #2B8B82 #822B8B
tetradic
#8B822B #2B8B52 #2B348B #8B2B64
square
#8B822B #2B8B52 #2B348B #8B2B64
split-complementary
#8B822B #2B648B #522B8B
monochromatic
#2E2B0E #5C561D #8B822B #BAAE39 #CEC462

Accessibility & contrast

On white

3.94
#8B822B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8B822B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B822B
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B822B#FFFFFF#000000##000000
##8B822B1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1F
Deuteranopia (green-blind)
#918230
Tritanopia (blue-blind)
#957970
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8b822b;
/* rgb */ color: rgb(139, 130, 43);
/* oklch */ color: oklch(59.8% 0.107 103.4);
Tailwind
colors: {
  custom: {
    50: '#b0a66a',
    500: '#8b822b',
    950: '#000000',
  },
}
SCSS
$custom: #8b822b;
$custom-light: #b0a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#8b822b",
  "rgb": {
    "r": 139,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 54.375,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59772,
    "c": 0.10695,
    "h": 103.4
  },
  "luminance": 0.21629
}

Semantic roles & 50–950 ramp

primary
#8B822B
secondary
#5D65B5
accent
#59DC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8B822B

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

Preview Lab → · Contrast checker → · Palette generator →

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