#8A892F#8A892F

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

Color values

HEX#8A892F
RGBrgb(138, 137, 47)
HSLhsl(59, 49%, 36%)
HSVhsv(59, 66%, 54%)
CMYKcmyk(0%, 0.7%, 65.9%, 45.9%)
CIE-LABlab(55.58, -11.45, 46.58)
CIE-LCHlch(55.58, 47.97, 103.81°)
OKLaboklab(61.32% -0.0356 0.1053)
OKLCHoklch(61.32% 0.111 108.7)
XYZxyz(19.9406, 23.5004, 6.1744)
Luminance0.2350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A892F #2F308A
analogous
#8A5C2F #8A892F #5E8A2F
triadic
#8A892F #2F8A89 #892F8A
tetradic
#8A892F #2F8A5C #2F308A #8A2F5E
square
#8A892F #2F8A5C #2F308A #8A2F5E
split-complementary
#8A892F #2F5E8A #5C2F8A
monochromatic
#2F2E10 #5C5C1F #8A892F #B8B63F #CCCA68

Accessibility & contrast

On white

3.68
#8A892F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A892F#FFFFFF#000000##000000
##8A892F1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948323
Deuteranopia (green-blind)
#958735
Tritanopia (blue-blind)
#948076
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a892f;
/* rgb */ color: rgb(138, 137, 47);
/* oklch */ color: oklch(61.3% 0.111 108.7);
Tailwind
colors: {
  custom: {
    50: '#afab6c',
    500: '#8a892f',
    950: '#000000',
  },
}
SCSS
$custom: #8a892f;
$custom-light: #afab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a892f",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 47
  },
  "hsl": {
    "h": 59.341,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61316,
    "c": 0.11115,
    "h": 108.7
  },
  "luminance": 0.235
}

Semantic roles & 50–950 ramp

primary
#8A892F
secondary
#6263B3
accent
#51D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A892F

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

Preview Lab → · Contrast checker → · Palette generator →

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