#8D831D#8D831D

#8D831D is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.1% C 0.117 H 103.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8D831D
RGBrgb(141, 131, 29)
HSLhsl(55, 66%, 33%)
HSVhsv(55, 79%, 55%)
CMYKcmyk(0%, 7.1%, 79.4%, 44.7%)
CIE-LABlab(54.01, -7.77, 52.14)
CIE-LCHlch(54.01, 52.72, 98.47°)
OKLaboklab(60.09% -0.0273 0.1136)
OKLCHoklch(60.09% 0.117 103.5)
XYZxyz(19.3235, 21.9849, 4.3878)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D831D #1D278D
analogous
#8D4B1D #8D831D #5F8D1D
triadic
#8D831D #1D8D83 #831D8D
tetradic
#8D831D #1D8D4B #1D278D #8D1D5F
square
#8D831D #1D8D4B #1D278D #8D1D5F
split-complementary
#8D831D #1D5F8D #4B1D8D
monochromatic
#272508 #5A5413 #8D831D #C0B227 #DACD4B

Accessibility & contrast

On white

3.89
#8D831D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#8D831D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D831D
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D831D#FFFFFF#000000##000000
##8D831D1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E03
Deuteranopia (green-blind)
#938325
Tritanopia (blue-blind)
#987970
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d831d;
/* rgb */ color: rgb(141, 131, 29);
/* oklch */ color: oklch(60.1% 0.117 103.5);
Tailwind
colors: {
  custom: {
    50: '#b2a662',
    500: '#8d831d',
    950: '#000000',
  },
}
SCSS
$custom: #8d831d;
$custom-light: #b2a662;
$custom-dark: #000000;
JSON
{
  "hex": "#8d831d",
  "rgb": {
    "r": 141,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 54.643,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60089,
    "c": 0.11682,
    "h": 103.5
  },
  "luminance": 0.21984
}

Semantic roles & 50–950 ramp

primary
#8D831D
secondary
#4A54BC
accent
#4EE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D831D

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

Preview Lab → · Contrast checker → · Palette generator →

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