#8D822B#8D822B

#8D822B is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.0% C 0.107 H 102.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8D822B
RGBrgb(141, 130, 43)
HSLhsl(53, 53%, 36%)
HSVhsv(53, 70%, 55%)
CMYKcmyk(0%, 7.8%, 69.5%, 44.7%)
CIE-LABlab(53.82, -6.53, 46.57)
CIE-LCHlch(53.82, 47.03, 97.98°)
OKLaboklab(59.96% -0.0223 0.1045)
OKLCHoklch(59.96% 0.107 102)
XYZxyz(19.4040, 21.8032, 5.4714)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D822B #2B368D
analogous
#8D512B #8D822B #678D2B
triadic
#8D822B #2B8D82 #822B8D
tetradic
#8D822B #2B8D51 #2B368D #8D2B67
square
#8D822B #2B8D51 #2B368D #8D2B67
split-complementary
#8D822B #2B678D #512B8D
monochromatic
#2F2C0E #5E571D #8D822B #BCAD39 #CFC363

Accessibility & contrast

On white

3.92
#8D822B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#8D822B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D822B
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D822B#FFFFFF#000000##000000
##8D822B1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1F
Deuteranopia (green-blind)
#918330
Tritanopia (blue-blind)
#987970
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d822b;
/* rgb */ color: rgb(141, 130, 43);
/* oklch */ color: oklch(60.0% 0.107 102.0);
Tailwind
colors: {
  custom: {
    50: '#b1a66a',
    500: '#8d822b',
    950: '#000000',
  },
}
SCSS
$custom: #8d822b;
$custom-light: #b1a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d822b",
  "rgb": {
    "r": 141,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 53.265,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59964,
    "c": 0.10686,
    "h": 102
  },
  "luminance": 0.21802
}

Semantic roles & 50–950 ramp

primary
#8D822B
secondary
#5E68B6
accent
#5BDD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D822B

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

Preview Lab → · Contrast checker → · Palette generator →

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