#8A892A#8A892A

#8A892A is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.3% C 0.115 H 108.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A892A
RGBrgb(138, 137, 42)
HSLhsl(59, 53%, 35%)
HSVhsv(59, 70%, 54%)
CMYKcmyk(0%, 0.7%, 69.6%, 45.9%)
CIE-LABlab(55.55, -11.76, 48.65)
CIE-LCHlch(55.55, 50.05, 103.59°)
OKLaboklab(61.27% -0.037 0.1088)
OKLCHoklch(61.27% 0.115 108.8)
XYZxyz(19.8455, 23.4624, 5.6733)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A892A #2A2B8A
analogous
#8A592A #8A892A #5B8A2A
triadic
#8A892A #2A8A89 #892A8A
tetradic
#8A892A #2A8A59 #2A2B8A #8A2A5B
square
#8A892A #2A8A59 #2A2B8A #8A2A5B
split-complementary
#8A892A #2A5B8A #592A8A
monochromatic
#2C2C0D #5B5A1C #8A892A #B9B838 #CFCD60

Accessibility & contrast

On white

3.69
#8A892A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8A892A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A892A
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A892A#FFFFFF#000000##000000
##8A892A1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831C
Deuteranopia (green-blind)
#968731
Tritanopia (blue-blind)
#948076
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a892a;
/* rgb */ color: rgb(138, 137, 42);
/* oklch */ color: oklch(61.3% 0.115 108.8);
Tailwind
colors: {
  custom: {
    50: '#afab6a',
    500: '#8a892a',
    950: '#000000',
  },
}
SCSS
$custom: #8a892a;
$custom-light: #afab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a892a",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 42
  },
  "hsl": {
    "h": 59.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61273,
    "c": 0.11494,
    "h": 108.8
  },
  "luminance": 0.23462
}

Semantic roles & 50–950 ramp

primary
#8A892A
secondary
#5B5CB4
accent
#4DDD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A892A

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

Preview Lab → · Contrast checker → · Palette generator →

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