#8A8A39#8A8A39

#8A8A39 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.6% C 0.104 H 109.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8A8A39
RGBrgb(138, 138, 57)
HSLhsl(60, 42%, 38%)
HSVhsv(60, 59%, 54%)
CMYKcmyk(0%, 0%, 58.7%, 45.9%)
CIE-LABlab(55.96, -11.27, 42.42)
CIE-LCHlch(55.96, 43.90, 104.88°)
OKLaboklab(61.65% -0.0339 0.098)
OKLCHoklch(61.65% 0.104 109.1)
XYZxyz(20.3088, 23.8762, 7.4089)
Luminance0.2388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A39 #39398A
analogous
#8A6139 #8A8A39 #618A39
triadic
#8A8A39 #398A8A #8A398A
tetradic
#8A8A39 #398A61 #39398A #8A3961
square
#8A8A39 #398A61 #39398A #8A3961
split-complementary
#8A8A39 #39618A #61398A
monochromatic
#333315 #5F5F27 #8A8A39 #B5B54B #C7C777

Accessibility & contrast

On white

3.64
#8A8A39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#8A8A39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A39
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A39#FFFFFF#000000##000000
##8A8A391.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948530
Deuteranopia (green-blind)
#96873E
Tritanopia (blue-blind)
#938278
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8a39;
/* rgb */ color: rgb(138, 138, 57);
/* oklch */ color: oklch(61.6% 0.104 109.1);
Tailwind
colors: {
  custom: {
    50: '#aeac73',
    500: '#8a8a39',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a39;
$custom-light: #aeac73;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a39",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 57
  },
  "hsl": {
    "h": 60,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61648,
    "c": 0.10366,
    "h": 109.1
  },
  "luminance": 0.23876
}

Semantic roles & 50–950 ramp

primary
#8A8A39
secondary
#6F6FB0
accent
#56D156
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A8A39

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

Preview Lab → · Contrast checker → · Palette generator →

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