#8C811E#8C811E

#8C811E is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.5% C 0.115 H 102.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8C811E
RGBrgb(140, 129, 30)
HSLhsl(54, 65%, 33%)
HSVhsv(54, 79%, 55%)
CMYKcmyk(0%, 7.9%, 78.6%, 45.1%)
CIE-LABlab(53.35, -7.09, 51.16)
CIE-LCHlch(53.35, 51.65, 97.89°)
OKLaboklab(59.55% -0.0252 0.1118)
OKLCHoklch(59.55% 0.115 102.7)
XYZxyz(18.9007, 21.3705, 4.3574)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C811E #1E298C
analogous
#8C4A1E #8C811E #608C1E
triadic
#8C811E #1E8C81 #811E8C
tetradic
#8C811E #1E8C4A #1E298C #8C1E60
square
#8C811E #1E8C4A #1E298C #8C1E60
split-complementary
#8C811E #1E608C #4A1E8C
monochromatic
#272408 #5A5313 #8C811E #BEAF29 #D9CB4C

Accessibility & contrast

On white

3.98
#8C811E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8C811E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C811E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C811E#FFFFFF#000000##000000
##8C811E1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D07
Deuteranopia (green-blind)
#918225
Tritanopia (blue-blind)
#97776E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8c811e;
/* rgb */ color: rgb(140, 129, 30);
/* oklch */ color: oklch(59.5% 0.115 102.7);
Tailwind
colors: {
  custom: {
    50: '#b1a563',
    500: '#8c811e',
    950: '#000000',
  },
}
SCSS
$custom: #8c811e;
$custom-light: #b1a563;
$custom-dark: #000000;
JSON
{
  "hex": "#8c811e",
  "rgb": {
    "r": 140,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 54,
    "s": 64.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59545,
    "c": 0.11458,
    "h": 102.7
  },
  "luminance": 0.2137
}

Semantic roles & 50–950 ramp

primary
#8C811E
secondary
#4B56BB
accent
#51E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8C811E

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

Preview Lab → · Contrast checker → · Palette generator →

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