#8A8A3F#8A8A3F

#8A8A3F is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.098 H 109.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#8A8A3F
RGBrgb(138, 138, 63)
HSLhsl(60, 37%, 39%)
HSVhsv(60, 54%, 54%)
CMYKcmyk(0%, 0%, 54.3%, 45.9%)
CIE-LABlab(56.03, -10.77, 39.57)
CIE-LCHlch(56.03, 41.01, 105.22°)
OKLaboklab(61.72% -0.0318 0.0926)
OKLCHoklch(61.72% 0.098 109)
XYZxyz(20.4674, 23.9396, 8.2443)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8A3F #3F3F8A
analogous
#8A653F #8A8A3F #658A3F
triadic
#8A8A3F #3F8A8A #8A3F8A
tetradic
#8A8A3F #3F8A65 #3F3F8A #8A3F65
square
#8A8A3F #3F8A65 #3F3F8A #8A3F65
split-complementary
#8A8A3F #3F658A #653F8A
monochromatic
#363619 #60602C #8A8A3F #B1B155 #C5C57F

Accessibility & contrast

On white

3.63
#8A8A3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#8A8A3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8A3F
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8A3F#FFFFFF#000000##000000
##8A8A3F1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948538
Deuteranopia (green-blind)
#958843
Tritanopia (blue-blind)
#938279
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8a3f;
/* rgb */ color: rgb(138, 138, 63);
/* oklch */ color: oklch(61.7% 0.098 109.0);
Tailwind
colors: {
  custom: {
    50: '#aeac76',
    500: '#8a8a3f',
    950: '#000000',
  },
}
SCSS
$custom: #8a8a3f;
$custom-light: #aeac76;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8a3f",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 63
  },
  "hsl": {
    "h": 60,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61719,
    "c": 0.09789,
    "h": 109
  },
  "luminance": 0.23939
}

Semantic roles & 50–950 ramp

primary
#8A8A3F
secondary
#7676AF
accent
#5BCD5B
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #8A8A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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