#8A883F#8A883F

#8A883F is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.3% C 0.096 H 107.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8A883F
RGBrgb(138, 136, 63)
HSLhsl(58, 37%, 39%)
HSVhsv(58, 54%, 54%)
CMYKcmyk(0%, 1.4%, 54.3%, 45.9%)
CIE-LABlab(55.45, -9.68, 38.91)
CIE-LCHlch(55.45, 40.10, 103.98°)
OKLaboklab(61.26% -0.0287 0.0911)
OKLCHoklch(61.26% 0.096 107.5)
XYZxyz(20.1831, 23.3710, 8.1495)
Luminance0.2337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A883F #3F418A
analogous
#8A633F #8A883F #678A3F
triadic
#8A883F #3F8A88 #883F8A
tetradic
#8A883F #3F8A63 #3F418A #8A3F67
square
#8A883F #3F8A63 #3F418A #8A3F67
split-complementary
#8A883F #3F678A #633F8A
monochromatic
#363519 #605F2C #8A883F #B1AF55 #C5C37F

Accessibility & contrast

On white

3.70
#8A883F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#8A883F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A883F
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A883F#FFFFFF#000000##000000
##8A883F1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928338
Deuteranopia (green-blind)
#938643
Tritanopia (blue-blind)
#938078
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a883f;
/* rgb */ color: rgb(138, 136, 63);
/* oklch */ color: oklch(61.3% 0.096 107.5);
Tailwind
colors: {
  custom: {
    50: '#aeaa76',
    500: '#8a883f',
    950: '#000000',
  },
}
SCSS
$custom: #8a883f;
$custom-light: #aeaa76;
$custom-dark: #000000;
JSON
{
  "hex": "#8a883f",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 63
  },
  "hsl": {
    "h": 58.4,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61261,
    "c": 0.09556,
    "h": 107.5
  },
  "luminance": 0.2337
}

Semantic roles & 50–950 ramp

primary
#8A883F
secondary
#7678AF
accent
#5ECD5B
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#101009
muted
#7F7F7B

Preview Lab

Preview with #8A883F

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

Preview Lab → · Contrast checker → · Palette generator →

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