#8A8934#8A8934

#8A8934 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.4% C 0.107 H 108.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8A8934
RGBrgb(138, 137, 52)
HSLhsl(59, 45%, 37%)
HSVhsv(59, 62%, 54%)
CMYKcmyk(0%, 0.7%, 62.3%, 45.9%)
CIE-LABlab(55.63, -11.11, 44.39)
CIE-LCHlch(55.63, 45.76, 104.05°)
OKLaboklab(61.36% -0.034 0.1015)
OKLCHoklch(61.36% 0.107 108.5)
XYZxyz(20.0473, 23.5431, 6.7364)
Luminance0.2354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8934 #34358A
analogous
#8A5E34 #8A8934 #608A34
triadic
#8A8934 #348A89 #89348A
tetradic
#8A8934 #348A5E #34358A #8A3460
square
#8A8934 #348A5E #34358A #8A3460
split-complementary
#8A8934 #34608A #5E348A
monochromatic
#313113 #5E5D23 #8A8934 #B6B545 #C9C86F

Accessibility & contrast

On white

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

On black

5.71
#8A8934 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8934
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8934#FFFFFF#000000##000000
##8A89341.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94842A
Deuteranopia (green-blind)
#958739
Tritanopia (blue-blind)
#938177
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8934;
/* rgb */ color: rgb(138, 137, 52);
/* oklch */ color: oklch(61.4% 0.107 108.5);
Tailwind
colors: {
  custom: {
    50: '#afab6f',
    500: '#8a8934',
    950: '#000000',
  },
}
SCSS
$custom: #8a8934;
$custom-light: #afab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8934",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 52
  },
  "hsl": {
    "h": 59.302,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61364,
    "c": 0.10701,
    "h": 108.5
  },
  "luminance": 0.23543
}

Semantic roles & 50–950 ramp

primary
#8A8934
secondary
#696AB1
accent
#54D553
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8934

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

Preview Lab → · Contrast checker → · Palette generator →

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