#8A822E#8A822E

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

Color values

HEX#8A822E
RGBrgb(138, 130, 46)
HSLhsl(55, 50%, 36%)
HSVhsv(55, 67%, 54%)
CMYKcmyk(0%, 5.8%, 66.7%, 45.9%)
CIE-LABlab(53.56, -7.71, 44.91)
CIE-LCHlch(53.56, 45.57, 99.74°)
OKLaboklab(59.7% -0.0251 0.1016)
OKLCHoklch(59.7% 0.105 103.9)
XYZxyz(18.9577, 21.5665, 5.7484)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A822E #2E368A
analogous
#8A542E #8A822E #648A2E
triadic
#8A822E #2E8A82 #822E8A
tetradic
#8A822E #2E8A54 #2E368A #8A2E64
square
#8A822E #2E8A54 #2E368A #8A2E64
split-complementary
#8A822E #2E648A #542E8A
monochromatic
#2E2C0F #5C571F #8A822E #B8AD3D #CCC366

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A822E#FFFFFF#000000##000000
##8A822E1.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)
#8D7E23
Deuteranopia (green-blind)
#908233
Tritanopia (blue-blind)
#947971
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a822e;
/* rgb */ color: rgb(138, 130, 46);
/* oklch */ color: oklch(59.7% 0.105 103.9);
Tailwind
colors: {
  custom: {
    50: '#afa66b',
    500: '#8a822e',
    950: '#000000',
  },
}
SCSS
$custom: #8a822e;
$custom-light: #afa66b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a822e",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 46
  },
  "hsl": {
    "h": 54.783,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59704,
    "c": 0.10466,
    "h": 103.9
  },
  "luminance": 0.21566
}

Semantic roles & 50–950 ramp

primary
#8A822E
secondary
#6168B3
accent
#5ADA4E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A822E

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

Preview Lab → · Contrast checker → · Palette generator →

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