#8D831A#8D831A

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

Color values

HEX#8D831A
RGBrgb(141, 131, 26)
HSLhsl(55, 69%, 33%)
HSVhsv(55, 82%, 55%)
CMYKcmyk(0%, 7.1%, 81.6%, 44.7%)
CIE-LABlab(54.00, -7.88, 53.10)
CIE-LCHlch(54.00, 53.68, 98.44°)
OKLaboklab(60.07% -0.0278 0.1151)
OKLCHoklch(60.07% 0.118 103.6)
XYZxyz(19.2882, 21.9707, 4.2019)
Luminance0.2197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D831A #1A248D
analogous
#8D4A1A #8D831A #5D8D1A
triadic
#8D831A #1A8D83 #831A8D
tetradic
#8D831A #1A8D4A #1A248D #8D1A5D
square
#8D831A #1A8D4A #1A248D #8D1A5D
split-complementary
#8D831A #1A5D8D #4A1A8D
monochromatic
#262307 #595310 #8D831A #C1B324 #DDCF45

Accessibility & contrast

On white

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

On black

5.39
#8D831A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D831A
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D831A#FFFFFF#000000##000000
##8D831A1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d831a;
/* rgb */ color: rgb(141, 131, 26);
/* oklch */ color: oklch(60.1% 0.118 103.6);
Tailwind
colors: {
  custom: {
    50: '#b2a661',
    500: '#8d831a',
    950: '#000000',
  },
}
SCSS
$custom: #8d831a;
$custom-light: #b2a661;
$custom-dark: #000000;
JSON
{
  "hex": "#8d831a",
  "rgb": {
    "r": 141,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 54.783,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60072,
    "c": 0.11837,
    "h": 103.6
  },
  "luminance": 0.2197
}

Semantic roles & 50–950 ramp

primary
#8D831A
secondary
#454FBE
accent
#4BEC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8D831A

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

Preview Lab → · Contrast checker → · Palette generator →

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