#8D812E#8D812E

#8D812E is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.8% C 0.104 H 101.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8D812E
RGBrgb(141, 129, 46)
HSLhsl(52, 51%, 37%)
HSVhsv(52, 67%, 55%)
CMYKcmyk(0%, 8.5%, 67.4%, 44.7%)
CIE-LABlab(53.56, -5.79, 44.99)
CIE-LCHlch(53.56, 45.36, 97.33°)
OKLaboklab(59.77% -0.0198 0.1017)
OKLCHoklch(59.77% 0.104 101)
XYZxyz(19.3287, 21.5613, 5.7279)
Luminance0.2156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D812E #2E3A8D
analogous
#8D522E #8D812E #6A8D2E
triadic
#8D812E #2E8D81 #812E8D
tetradic
#8D812E #2E8D52 #2E3A8D #8D2E6A
square
#8D812E #2E8D52 #2E3A8D #8D2E6A
split-complementary
#8D812E #2E6A8D #522E8D
monochromatic
#312D10 #5F571F #8D812E #BBAB3D #CEC168

Accessibility & contrast

On white

3.95
#8D812E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8D812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D812E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D812E#FFFFFF#000000##000000
##8D812E1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d812e;
/* rgb */ color: rgb(141, 129, 46);
/* oklch */ color: oklch(59.8% 0.104 101.0);
Tailwind
colors: {
  custom: {
    50: '#b1a56b',
    500: '#8d812e',
    950: '#000000',
  },
}
SCSS
$custom: #8d812e;
$custom-light: #b1a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d812e",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 52.421,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59767,
    "c": 0.10361,
    "h": 101
  },
  "luminance": 0.2156
}

Semantic roles & 50–950 ramp

primary
#8D812E
secondary
#626DB5
accent
#5FDA4E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D812E

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

Preview Lab → · Contrast checker → · Palette generator →

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