#8A8243#8A8243

#8A8243 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.0% C 0.085 H 102.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8A8243
RGBrgb(138, 130, 67)
HSLhsl(53, 35%, 40%)
HSVhsv(53, 51%, 54%)
CMYKcmyk(0%, 5.8%, 51.4%, 45.9%)
CIE-LABlab(53.79, -6.02, 34.89)
CIE-LCHlch(53.79, 35.41, 99.79°)
OKLaboklab(59.95% -0.0178 0.0828)
OKLCHoklch(59.95% 0.085 102.1)
XYZxyz(19.4775, 21.7744, 8.4860)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8243 #434B8A
analogous
#8A5E43 #8A8243 #6F8A43
triadic
#8A8243 #438A82 #82438A
tetradic
#8A8243 #438A5E #434B8A #8A436F
square
#8A8243 #438A5E #434B8A #8A436F
split-complementary
#8A8243 #436F8A #5E438A
monochromatic
#38341B #615B2F #8A8243 #AFA65B #C3BC84

Accessibility & contrast

On white

3.92
#8A8243 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8A8243 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8243
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8243#FFFFFF#000000##000000
##8A82431.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3D
Deuteranopia (green-blind)
#8F8246
Tritanopia (blue-blind)
#937A73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a8243;
/* rgb */ color: rgb(138, 130, 67);
/* oklch */ color: oklch(60.0% 0.085 102.1);
Tailwind
colors: {
  custom: {
    50: '#aea679',
    500: '#8a8243',
    950: '#000000',
  },
}
SCSS
$custom: #8a8243;
$custom-light: #aea679;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8243",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 67
  },
  "hsl": {
    "h": 53.239,
    "s": 34.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.59953,
    "c": 0.08469,
    "h": 102.1
  },
  "luminance": 0.21774
}

Semantic roles & 50–950 ramp

primary
#8A8243
secondary
#7B80AE
accent
#69CB5D
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #8A8243

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

Preview Lab → · Contrast checker → · Palette generator →

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