#8C831D#8C831D

#8C831D is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.0% C 0.117 H 104.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8C831D
RGBrgb(140, 131, 29)
HSLhsl(55, 66%, 33%)
HSVhsv(55, 79%, 55%)
CMYKcmyk(0%, 6.4%, 79.3%, 45.1%)
CIE-LABlab(53.92, -8.23, 52.02)
CIE-LCHlch(53.92, 52.67, 98.99°)
OKLaboklab(59.99% -0.0285 0.1134)
OKLCHoklch(59.99% 0.117 104.1)
XYZxyz(19.1541, 21.8976, 4.3799)
Luminance0.2190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C831D #1D268C
analogous
#8C4B1D #8C831D #5D8C1D
triadic
#8C831D #1D8C83 #831D8C
tetradic
#8C831D #1D8C4B #1D268C #8C1D5D
square
#8C831D #1D8C4B #1D268C #8C1D5D
split-complementary
#8C831D #1D5D8C #4B1D8C
monochromatic
#272408 #595412 #8C831D #BFB228 #D9CE4A

Accessibility & contrast

On white

3.90
#8C831D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#8C831D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C831D
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C831D#FFFFFF#000000##000000
##8C831D1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E03
Deuteranopia (green-blind)
#928325
Tritanopia (blue-blind)
#977970
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8c831d;
/* rgb */ color: rgb(140, 131, 29);
/* oklch */ color: oklch(60.0% 0.117 104.1);
Tailwind
colors: {
  custom: {
    50: '#b1a662',
    500: '#8c831d',
    950: '#000000',
  },
}
SCSS
$custom: #8c831d;
$custom-light: #b1a662;
$custom-dark: #000000;
JSON
{
  "hex": "#8c831d",
  "rgb": {
    "r": 140,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 55.135,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59993,
    "c": 0.11693,
    "h": 104.1
  },
  "luminance": 0.21897
}

Semantic roles & 50–950 ramp

primary
#8C831D
secondary
#4952BC
accent
#4DE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C831D

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

Preview Lab → · Contrast checker → · Palette generator →

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