#8D8046#8D8046

#8D8046 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.8% C 0.080 H 97.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8D8046
RGBrgb(141, 128, 70)
HSLhsl(49, 34%, 41%)
HSVhsv(49, 50%, 55%)
CMYKcmyk(0%, 9.2%, 50.4%, 44.7%)
CIE-LABlab(53.54, -3.29, 33.07)
CIE-LCHlch(53.54, 33.24, 95.68°)
OKLaboklab(59.84% -0.0097 0.079)
OKLCHoklch(59.84% 0.08 97)
XYZxyz(19.8098, 21.5440, 8.9081)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8046 #46538D
analogous
#8D5D46 #8D8046 #778D46
triadic
#8D8046 #468D80 #80468D
tetradic
#8D8046 #468D5D #46538D #8D4677
square
#8D8046 #468D5D #46538D #8D4677
split-complementary
#8D8046 #46778D #5D468D
monochromatic
#3B361D #645B32 #8D8046 #B0A160 #C4BA89

Accessibility & contrast

On white

3.96
#8D8046 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8D8046 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8046
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8046#FFFFFF#000000##000000
##8D80461.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D41
Deuteranopia (green-blind)
#8E8248
Tritanopia (blue-blind)
#967872
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d8046;
/* rgb */ color: rgb(141, 128, 70);
/* oklch */ color: oklch(59.8% 0.080 97.0);
Tailwind
colors: {
  custom: {
    50: '#b0a47b',
    500: '#8d8046',
    950: '#000000',
  },
}
SCSS
$custom: #8d8046;
$custom-light: #b0a47b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8046",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 70
  },
  "hsl": {
    "h": 49.014,
    "s": 33.649,
    "l": 41.373
  },
  "oklch": {
    "l": 0.59837,
    "c": 0.0796,
    "h": 97
  },
  "luminance": 0.21543
}

Semantic roles & 50–950 ramp

primary
#8D8046
secondary
#7F88B0
accent
#72CA5E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#110F09
muted
#807F7B

Preview Lab

Preview with #8D8046

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

Preview Lab → · Contrast checker → · Palette generator →

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