#8A892D#8A892D

#8A892D 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#8A892D
RGBrgb(138, 137, 45)
HSLhsl(59, 51%, 36%)
HSVhsv(59, 67%, 54%)
CMYKcmyk(0%, 0.7%, 67.4%, 45.9%)
CIE-LABlab(55.57, -11.58, 47.43)
CIE-LCHlch(55.57, 48.82, 103.72°)
OKLaboklab(61.3% -0.0361 0.1068)
OKLCHoklch(61.3% 0.113 108.7)
XYZxyz(19.9012, 23.4846, 5.9668)
Luminance0.2348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A892D #2D2E8A
analogous
#8A5A2D #8A892D #5C8A2D
triadic
#8A892D #2D8A89 #892D8A
tetradic
#8A892D #2D8A5A #2D2E8A #8A2D5C
square
#8A892D #2D8A5A #2D2E8A #8A2D5C
split-complementary
#8A892D #2D5C8A #5A2D8A
monochromatic
#2E2D0F #5C5B1E #8A892D #B8B73C #CDCC65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A892D#FFFFFF#000000##000000
##8A892D1.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)
#948320
Deuteranopia (green-blind)
#958733
Tritanopia (blue-blind)
#948076
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a892d;
/* rgb */ color: rgb(138, 137, 45);
/* oklch */ color: oklch(61.3% 0.113 108.7);
Tailwind
colors: {
  custom: {
    50: '#afab6b',
    500: '#8a892d',
    950: '#000000',
  },
}
SCSS
$custom: #8a892d;
$custom-light: #afab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a892d",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 45
  },
  "hsl": {
    "h": 59.355,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61298,
    "c": 0.11271,
    "h": 108.7
  },
  "luminance": 0.23484
}

Semantic roles & 50–950 ramp

primary
#8A892D
secondary
#6060B3
accent
#4FDA4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A892D

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

Preview Lab → · Contrast checker → · Palette generator →

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