#8A822C#8A822C

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

Color values

HEX#8A822C
RGBrgb(138, 130, 44)
HSLhsl(55, 52%, 36%)
HSVhsv(55, 68%, 54%)
CMYKcmyk(0%, 5.8%, 68.1%, 45.9%)
CIE-LABlab(53.55, -7.83, 45.77)
CIE-LCHlch(53.55, 46.44, 99.71°)
OKLaboklab(59.69% -0.0257 0.1031)
OKLCHoklch(59.69% 0.106 104)
XYZxyz(18.9192, 21.5511, 5.5456)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A822C #2C348A
analogous
#8A532C #8A822C #638A2C
triadic
#8A822C #2C8A82 #822C8A
tetradic
#8A822C #2C8A53 #2C348A #8A2C63
square
#8A822C #2C8A53 #2C348A #8A2C63
split-complementary
#8A822C #2C638A #532C8A
monochromatic
#2D2B0E #5C561D #8A822C #B8AE3B #CDC463

Accessibility & contrast

On white

3.95
#8A822C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A822C#FFFFFF#000000##000000
##8A822C1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E20
Deuteranopia (green-blind)
#908231
Tritanopia (blue-blind)
#947970
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a822c;
/* rgb */ color: rgb(138, 130, 44);
/* oklch */ color: oklch(59.7% 0.106 104.0);
Tailwind
colors: {
  custom: {
    50: '#afa66a',
    500: '#8a822c',
    950: '#000000',
  },
}
SCSS
$custom: #8a822c;
$custom-light: #afa66a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a822c",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 44
  },
  "hsl": {
    "h": 54.894,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59686,
    "c": 0.10625,
    "h": 104
  },
  "luminance": 0.2155
}

Semantic roles & 50–950 ramp

primary
#8A822C
secondary
#5E65B4
accent
#59DB4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A822C

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

Preview Lab → · Contrast checker → · Palette generator →

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