#8D831C#8D831C

#8D831C 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#8D831C
RGBrgb(141, 131, 28)
HSLhsl(55, 67%, 33%)
HSVhsv(55, 80%, 55%)
CMYKcmyk(0%, 7.1%, 80.1%, 44.7%)
CIE-LABlab(54.01, -7.81, 52.47)
CIE-LCHlch(54.01, 53.04, 98.46°)
OKLaboklab(60.08% -0.0275 0.1141)
OKLCHoklch(60.08% 0.117 103.5)
XYZxyz(19.3113, 21.9800, 4.3237)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D831C #1C268D
analogous
#8D4A1C #8D831C #5E8D1C
triadic
#8D831C #1C8D83 #831C8D
tetradic
#8D831C #1C8D4A #1C268D #8D1C5E
square
#8D831C #1C8D4A #1C268D #8D1C5E
split-complementary
#8D831C #1C5E8D #4A1C8D
monochromatic
#272408 #5A5412 #8D831C #C0B226 #DBCE49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D831C#FFFFFF#000000##000000
##8D831C1.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)
#907E01
Deuteranopia (green-blind)
#938324
Tritanopia (blue-blind)
#987970
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d831c;
/* rgb */ color: rgb(141, 131, 28);
/* oklch */ color: oklch(60.1% 0.117 103.5);
Tailwind
colors: {
  custom: {
    50: '#b2a662',
    500: '#8d831c',
    950: '#000000',
  },
}
SCSS
$custom: #8d831c;
$custom-light: #b2a662;
$custom-dark: #000000;
JSON
{
  "hex": "#8d831c",
  "rgb": {
    "r": 141,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 54.69,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.60083,
    "c": 0.11736,
    "h": 103.5
  },
  "luminance": 0.21979
}

Semantic roles & 50–950 ramp

primary
#8D831C
secondary
#4852BD
accent
#4DEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D831C

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

Preview Lab → · Contrast checker → · Palette generator →

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