#8A883B#8A883B

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

Color values

HEX#8A883B
RGBrgb(138, 136, 59)
HSLhsl(58, 40%, 39%)
HSVhsv(58, 57%, 54%)
CMYKcmyk(0%, 1.4%, 57.2%, 45.9%)
CIE-LABlab(55.41, -10.03, 40.84)
CIE-LCHlch(55.41, 42.05, 103.80°)
OKLaboklab(61.21% -0.0301 0.0948)
OKLCHoklch(61.21% 0.099 107.6)
XYZxyz(20.0754, 23.3279, 7.5821)
Luminance0.2333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A883B #3B3D8A
analogous
#8A603B #8A883B #648A3B
triadic
#8A883B #3B8A88 #883B8A
tetradic
#8A883B #3B8A60 #3B3D8A #8A3B64
square
#8A883B #3B8A60 #3B3D8A #8A3B64
split-complementary
#8A883B #3B648A #603B8A
monochromatic
#343316 #5F5E29 #8A883B #B4B14F #C6C479

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A883B#FFFFFF#000000##000000
##8A883B1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a883b;
/* rgb */ color: rgb(138, 136, 59);
/* oklch */ color: oklch(61.2% 0.099 107.6);
Tailwind
colors: {
  custom: {
    50: '#aeaa74',
    500: '#8a883b',
    950: '#000000',
  },
}
SCSS
$custom: #8a883b;
$custom-light: #aeaa74;
$custom-dark: #000000;
JSON
{
  "hex": "#8a883b",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 59
  },
  "hsl": {
    "h": 58.481,
    "s": 40.102,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61212,
    "c": 0.09949,
    "h": 107.6
  },
  "luminance": 0.23327
}

Semantic roles & 50–950 ramp

primary
#8A883B
secondary
#7173AF
accent
#5BD058
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#111008
muted
#807F7B

Preview Lab

Preview with #8A883B

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

Preview Lab → · Contrast checker → · Palette generator →

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