#8A892C#8A892C

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

Color values

HEX#8A892C
RGBrgb(138, 137, 44)
HSLhsl(59, 52%, 36%)
HSVhsv(59, 68%, 54%)
CMYKcmyk(0%, 0.7%, 68.1%, 45.9%)
CIE-LABlab(55.56, -11.64, 47.84)
CIE-LCHlch(55.56, 49.24, 103.67°)
OKLaboklab(61.29% -0.0364 0.1075)
OKLCHoklch(61.29% 0.113 108.7)
XYZxyz(19.8822, 23.4770, 5.8666)
Luminance0.2348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A892C #2C2D8A
analogous
#8A5A2C #8A892C #5C8A2C
triadic
#8A892C #2C8A89 #892C8A
tetradic
#8A892C #2C8A5A #2C2D8A #8A2C5C
square
#8A892C #2C8A5A #2C2D8A #8A2C5C
split-complementary
#8A892C #2C5C8A #5A2C8A
monochromatic
#2D2D0E #5C5B1D #8A892C #B8B73B #CDCC63

Accessibility & contrast

On white

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

On black

5.70
#8A892C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A892C
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A892C#FFFFFF#000000##000000
##8A892C1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a892c;
/* rgb */ color: rgb(138, 137, 44);
/* oklch */ color: oklch(61.3% 0.113 108.7);
Tailwind
colors: {
  custom: {
    50: '#afab6b',
    500: '#8a892c',
    950: '#000000',
  },
}
SCSS
$custom: #8a892c;
$custom-light: #afab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a892c",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 44
  },
  "hsl": {
    "h": 59.362,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61289,
    "c": 0.11347,
    "h": 108.7
  },
  "luminance": 0.23476
}

Semantic roles & 50–950 ramp

primary
#8A892C
secondary
#5E5FB4
accent
#4EDB4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A892C

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

Preview Lab → · Contrast checker → · Palette generator →

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