#8A8839#8A8839

#8A8839 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.2% C 0.101 H 107.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8A8839
RGBrgb(138, 136, 57)
HSLhsl(59, 42%, 38%)
HSVhsv(59, 59%, 54%)
CMYKcmyk(0%, 1.4%, 58.7%, 45.9%)
CIE-LABlab(55.39, -10.19, 41.78)
CIE-LCHlch(55.39, 43.01, 103.71°)
OKLaboklab(61.19% -0.0308 0.0966)
OKLCHoklch(61.19% 0.101 107.7)
XYZxyz(20.0245, 23.3076, 7.3141)
Luminance0.2331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8839 #393B8A
analogous
#8A5F39 #8A8839 #638A39
triadic
#8A8839 #398A88 #88398A
tetradic
#8A8839 #398A5F #393B8A #8A3963
square
#8A8839 #398A5F #393B8A #8A3963
split-complementary
#8A8839 #39638A #5F398A
monochromatic
#333315 #5F5D27 #8A8839 #B5B24B #C7C577

Accessibility & contrast

On white

3.71
#8A8839 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#8A8839 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8839
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8839#FFFFFF#000000##000000
##8A88391.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928331
Deuteranopia (green-blind)
#94863D
Tritanopia (blue-blind)
#938077
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a8839;
/* rgb */ color: rgb(138, 136, 57);
/* oklch */ color: oklch(61.2% 0.101 107.7);
Tailwind
colors: {
  custom: {
    50: '#aeaa72',
    500: '#8a8839',
    950: '#000000',
  },
}
SCSS
$custom: #8a8839;
$custom-light: #aeaa72;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8839",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 57
  },
  "hsl": {
    "h": 58.519,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61189,
    "c": 0.10139,
    "h": 107.7
  },
  "luminance": 0.23307
}

Semantic roles & 50–950 ramp

primary
#8A8839
secondary
#6F71B0
accent
#59D156
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8839

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

Preview Lab → · Contrast checker → · Palette generator →

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