#8D834F#8D834F

#8D834F is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.6% C 0.072 H 98.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8D834F
RGBrgb(141, 131, 79)
HSLhsl(50, 28%, 43%)
HSVhsv(50, 44%, 55%)
CMYKcmyk(0%, 7.1%, 44%, 44.7%)
CIE-LABlab(54.51, -4.02, 29.42)
CIE-LCHlch(54.51, 29.70, 97.78°)
OKLaboklab(60.65% -0.0109 0.0715)
OKLCHoklch(60.65% 0.072 98.7)
XYZxyz(20.5126, 22.4605, 10.6504)
Luminance0.2246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D834F #4F598D
analogous
#8D644F #8D834F #788D4F
triadic
#8D834F #4F8D83 #834F8D
tetradic
#8D834F #4F8D64 #4F598D #8D4F78
square
#8D834F #4F8D64 #4F598D #8D4F78
split-complementary
#8D834F #4F788D #644F8D
monochromatic
#3F3A23 #665F39 #8D834F #ADA26C #C3BB94

Accessibility & contrast

On white

3.82
#8D834F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#8D834F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D834F
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D834F#FFFFFF#000000##000000
##8D834F1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804B
Deuteranopia (green-blind)
#8F8451
Tritanopia (blue-blind)
#967C76
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8d834f;
/* rgb */ color: rgb(141, 131, 79);
/* oklch */ color: oklch(60.6% 0.072 98.7);
Tailwind
colors: {
  custom: {
    50: '#afa681',
    500: '#8d834f',
    950: '#000000',
  },
}
SCSS
$custom: #8d834f;
$custom-light: #afa681;
$custom-dark: #000000;
JSON
{
  "hex": "#8d834f",
  "rgb": {
    "r": 141,
    "g": 131,
    "b": 79
  },
  "hsl": {
    "h": 50.323,
    "s": 28.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.60648,
    "c": 0.0723,
    "h": 98.7
  },
  "luminance": 0.2246
}

Semantic roles & 50–950 ramp

primary
#8D834F
secondary
#888FAF
accent
#73C463
background
#FAFAF7
surface
#F5F4EE
border
#CFCEC9
text
#110F0A
muted
#807F7C

Preview Lab

Preview with #8D834F

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

Preview Lab → · Contrast checker → · Palette generator →

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