#8C812E#8C812E

#8C812E is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.7% C 0.104 H 101.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8C812E
RGBrgb(140, 129, 46)
HSLhsl(53, 51%, 36%)
HSVhsv(53, 67%, 55%)
CMYKcmyk(0%, 7.9%, 67.1%, 45.1%)
CIE-LABlab(53.46, -6.25, 44.86)
CIE-LCHlch(53.46, 45.29, 97.93°)
OKLaboklab(59.67% -0.0211 0.1015)
OKLCHoklch(59.67% 0.104 101.7)
XYZxyz(19.1594, 21.4740, 5.7199)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C812E #2E398C
analogous
#8C522E #8C812E #688C2E
triadic
#8C812E #2E8C81 #812E8C
tetradic
#8C812E #2E8C52 #2E398C #8C2E68
square
#8C812E #2E8C52 #2E398C #8C2E68
split-complementary
#8C812E #2E688C #522E8C
monochromatic
#302C10 #5E571F #8C812E #BAAB3D #CDC167

Accessibility & contrast

On white

3.97
#8C812E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8C812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C812E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C812E#FFFFFF#000000##000000
##8C812E1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D23
Deuteranopia (green-blind)
#908233
Tritanopia (blue-blind)
#977870
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8c812e;
/* rgb */ color: rgb(140, 129, 46);
/* oklch */ color: oklch(59.7% 0.104 101.7);
Tailwind
colors: {
  custom: {
    50: '#b0a56b',
    500: '#8c812e',
    950: '#000000',
  },
}
SCSS
$custom: #8c812e;
$custom-light: #b0a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#8c812e",
  "rgb": {
    "r": 140,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 52.979,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59669,
    "c": 0.10361,
    "h": 101.7
  },
  "luminance": 0.21473
}

Semantic roles & 50–950 ramp

primary
#8C812E
secondary
#626BB4
accent
#5EDA4E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8C812E

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

Preview Lab → · Contrast checker → · Palette generator →

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