#8A8334#8A8334

#8A8334 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.101 H 104.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8A8334
RGBrgb(138, 131, 52)
HSLhsl(55, 45%, 37%)
HSVhsv(55, 62%, 54%)
CMYKcmyk(0%, 5.1%, 62.3%, 45.9%)
CIE-LABlab(53.90, -7.84, 42.52)
CIE-LCHlch(53.90, 43.24, 100.45°)
OKLaboklab(59.99% -0.0248 0.0975)
OKLCHoklch(59.99% 0.101 104.3)
XYZxyz(19.2180, 21.8845, 6.4600)
Luminance0.2188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8334 #343B8A
analogous
#8A5834 #8A8334 #668A34
triadic
#8A8334 #348A83 #83348A
tetradic
#8A8334 #348A58 #343B8A #8A3466
square
#8A8334 #348A58 #343B8A #8A3466
split-complementary
#8A8334 #34668A #58348A
monochromatic
#312F13 #5E5923 #8A8334 #B6AD45 #C9C26F

Accessibility & contrast

On white

3.91
#8A8334 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#8A8334 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8334
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8334#FFFFFF#000000##000000
##8A83341.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2B
Deuteranopia (green-blind)
#908338
Tritanopia (blue-blind)
#947B72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a8334;
/* rgb */ color: rgb(138, 131, 52);
/* oklch */ color: oklch(60.0% 0.101 104.3);
Tailwind
colors: {
  custom: {
    50: '#afa66f',
    500: '#8a8334',
    950: '#000000',
  },
}
SCSS
$custom: #8a8334;
$custom-light: #afa66f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8334",
  "rgb": {
    "r": 138,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 55.116,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59992,
    "c": 0.10058,
    "h": 104.3
  },
  "luminance": 0.21884
}

Semantic roles & 50–950 ramp

primary
#8A8334
secondary
#696FB1
accent
#5DD553
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8A8334

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

Preview Lab → · Contrast checker → · Palette generator →

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