#8A892E#8A892E

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

Color values

HEX#8A892E
RGBrgb(138, 137, 46)
HSLhsl(59, 50%, 36%)
HSVhsv(59, 67%, 54%)
CMYKcmyk(0%, 0.7%, 66.7%, 45.9%)
CIE-LABlab(55.58, -11.52, 47.01)
CIE-LCHlch(55.58, 48.40, 103.76°)
OKLaboklab(61.31% -0.0359 0.106)
OKLCHoklch(61.31% 0.112 108.7)
XYZxyz(19.9207, 23.4924, 6.0694)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A892E #2E2F8A
analogous
#8A5B2E #8A892E #5D8A2E
triadic
#8A892E #2E8A89 #892E8A
tetradic
#8A892E #2E8A5B #2E2F8A #8A2E5D
square
#8A892E #2E8A5B #2E2F8A #8A2E5D
split-complementary
#8A892E #2E5D8A #5B2E8A
monochromatic
#2E2E0F #5C5B1F #8A892E #B8B73D #CCCB66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A892E#FFFFFF#000000##000000
##8A892E1.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)
#948322
Deuteranopia (green-blind)
#958734
Tritanopia (blue-blind)
#948076
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a892e;
/* rgb */ color: rgb(138, 137, 46);
/* oklch */ color: oklch(61.3% 0.112 108.7);
Tailwind
colors: {
  custom: {
    50: '#afab6c',
    500: '#8a892e',
    950: '#000000',
  },
}
SCSS
$custom: #8a892e;
$custom-light: #afab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a892e",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 46
  },
  "hsl": {
    "h": 59.348,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61307,
    "c": 0.11194,
    "h": 108.7
  },
  "luminance": 0.23492
}

Semantic roles & 50–950 ramp

primary
#8A892E
secondary
#6162B3
accent
#50DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A892E

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

Preview Lab → · Contrast checker → · Palette generator →

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