#8A8262#8A8262

#8A8262 is a mid, muted yellow. Relative luminance 0.223; OKLCH L 60.5% C 0.047 H 95.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8A8262
RGBrgb(138, 130, 98)
HSLhsl(48, 17%, 46%)
HSVhsv(48, 29%, 54%)
CMYKcmyk(0%, 5.8%, 29%, 45.9%)
CIE-LABlab(54.29, -2.31, 18.46)
CIE-LCHlch(54.29, 18.60, 97.14°)
OKLaboklab(60.52% -0.0047 0.0466)
OKLCHoklch(60.52% 0.047 95.7)
XYZxyz(20.6686, 22.2509, 14.7590)
Luminance0.2225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8262 #626A8A
analogous
#8A6E62 #8A8262 #7E8A62
triadic
#8A8262 #628A82 #82628A
tetradic
#8A8262 #628A6E #626A8A #8A627E
square
#8A8262 #628A6E #626A8A #8A627E
split-complementary
#8A8262 #627E8A #6E628A
monochromatic
#423F2F #666049 #8A8262 #A79F83 #C0BBA6

Accessibility & contrast

On white

3.85
#8A8262 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8A8262 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8262
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8262#FFFFFF#000000##000000
##8A82621.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#898060
Deuteranopia (green-blind)
#8B8363
Tritanopia (blue-blind)
#907D79
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a8262;
/* rgb */ color: rgb(138, 130, 98);
/* oklch */ color: oklch(60.5% 0.047 95.7);
Tailwind
colors: {
  custom: {
    50: '#aca68f',
    500: '#8a8262',
    950: '#000000',
  },
}
SCSS
$custom: #8a8262;
$custom-light: #aca68f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8262",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 98
  },
  "hsl": {
    "h": 48,
    "s": 16.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.60518,
    "c": 0.0468,
    "h": 95.7
  },
  "luminance": 0.2225
}

Semantic roles & 50–950 ramp

primary
#8A8262
secondary
#999DAF
accent
#7DBA6E
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#100F0C
muted
#7F7F7D

Preview Lab

Preview with #8A8262

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

Preview Lab → · Contrast checker → · Palette generator →

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