#8A822A#8A822A

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

Color values

HEX#8A822A
RGBrgb(138, 130, 42)
HSLhsl(55, 53%, 35%)
HSVhsv(55, 70%, 54%)
CMYKcmyk(0%, 5.8%, 69.6%, 45.9%)
CIE-LABlab(53.53, -7.96, 46.62)
CIE-LCHlch(53.53, 47.29, 99.68°)
OKLaboklab(59.67% -0.0262 0.1045)
OKLCHoklch(59.67% 0.108 104.1)
XYZxyz(18.8825, 21.5364, 5.3523)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A822A #2A328A
analogous
#8A522A #8A822A #628A2A
triadic
#8A822A #2A8A82 #822A8A
tetradic
#8A822A #2A8A52 #2A328A #8A2A62
square
#8A822A #2A8A52 #2A328A #8A2A62
split-complementary
#8A822A #2A628A #522A8A
monochromatic
#2C2A0D #5B561C #8A822A #B9AE38 #CFC560

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A822A#FFFFFF#000000##000000
##8A822A1.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)
#8E7E1D
Deuteranopia (green-blind)
#908230
Tritanopia (blue-blind)
#947970
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a822a;
/* rgb */ color: rgb(138, 130, 42);
/* oklch */ color: oklch(59.7% 0.108 104.1);
Tailwind
colors: {
  custom: {
    50: '#afa669',
    500: '#8a822a',
    950: '#000000',
  },
}
SCSS
$custom: #8a822a;
$custom-light: #afa669;
$custom-dark: #000000;
JSON
{
  "hex": "#8a822a",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 55,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59668,
    "c": 0.10778,
    "h": 104.1
  },
  "luminance": 0.21536
}

Semantic roles & 50–950 ramp

primary
#8A822A
secondary
#5B63B4
accent
#57DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A822A

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

Preview Lab → · Contrast checker → · Palette generator →

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