#8A892B#8A892B

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

Color values

HEX#8A892B
RGBrgb(138, 137, 43)
HSLhsl(59, 52%, 35%)
HSVhsv(59, 69%, 54%)
CMYKcmyk(0%, 0.7%, 68.8%, 45.9%)
CIE-LABlab(55.55, -11.70, 48.25)
CIE-LCHlch(55.55, 49.65, 103.63°)
OKLaboklab(61.28% -0.0367 0.1082)
OKLCHoklch(61.28% 0.114 108.7)
XYZxyz(19.8636, 23.4696, 5.7688)
Luminance0.2347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A892B #2B2C8A
analogous
#8A592B #8A892B #5C8A2B
triadic
#8A892B #2B8A89 #892B8A
tetradic
#8A892B #2B8A59 #2B2C8A #8A2B5C
square
#8A892B #2B8A59 #2B2C8A #8A2B5C
split-complementary
#8A892B #2B5C8A #592B8A
monochromatic
#2D2C0E #5B5B1C #8A892B #B9B73A #CECD61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A892B#FFFFFF#000000##000000
##8A892B1.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)
#94831D
Deuteranopia (green-blind)
#968731
Tritanopia (blue-blind)
#948076
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a892b;
/* rgb */ color: rgb(138, 137, 43);
/* oklch */ color: oklch(61.3% 0.114 108.7);
Tailwind
colors: {
  custom: {
    50: '#afab6a',
    500: '#8a892b',
    950: '#000000',
  },
}
SCSS
$custom: #8a892b;
$custom-light: #afab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a892b",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 43
  },
  "hsl": {
    "h": 59.368,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61281,
    "c": 0.11421,
    "h": 108.7
  },
  "luminance": 0.23469
}

Semantic roles & 50–950 ramp

primary
#8A892B
secondary
#5D5EB4
accent
#4DDC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A892B

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

Preview Lab → · Contrast checker → · Palette generator →

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