#8A8248#8A8248

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

Color values

HEX#8A8248
RGBrgb(138, 130, 72)
HSLhsl(53, 31%, 41%)
HSVhsv(53, 48%, 54%)
CMYKcmyk(0%, 5.8%, 47.8%, 45.9%)
CIE-LABlab(53.85, -5.52, 32.33)
CIE-LCHlch(53.85, 32.79, 99.70°)
OKLaboklab(60.03% -0.0158 0.0775)
OKLCHoklch(60.03% 0.079 101.5)
XYZxyz(19.6341, 21.8370, 9.3104)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8248 #48508A
analogous
#8A6148 #8A8248 #718A48
triadic
#8A8248 #488A82 #82488A
tetradic
#8A8248 #488A61 #48508A #8A4871
square
#8A8248 #488A61 #48508A #8A4871
split-complementary
#8A8248 #48718A #61488A
monochromatic
#3A361E #625C33 #8A8248 #ADA462 #C2BB8A

Accessibility & contrast

On white

3.91
#8A8248 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#8A8248 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8248
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8248#FFFFFF#000000##000000
##8A82481.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F43
Deuteranopia (green-blind)
#8E824A
Tritanopia (blue-blind)
#937B74
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a8248;
/* rgb */ color: rgb(138, 130, 72);
/* oklch */ color: oklch(60.0% 0.079 101.5);
Tailwind
colors: {
  custom: {
    50: '#ada67c',
    500: '#8a8248',
    950: '#000000',
  },
}
SCSS
$custom: #8a8248;
$custom-light: #ada67c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8248",
  "rgb": {
    "r": 138,
    "g": 130,
    "b": 72
  },
  "hsl": {
    "h": 52.727,
    "s": 31.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.60028,
    "c": 0.07914,
    "h": 101.5
  },
  "luminance": 0.21836
}

Semantic roles & 50–950 ramp

primary
#8A8248
secondary
#8086AE
accent
#6DC860
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#100F09
muted
#7F7F7B

Preview Lab

Preview with #8A8248

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

Preview Lab → · Contrast checker → · Palette generator →

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