#8E812E#8E812E

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

Color values

HEX#8E812E
RGBrgb(142, 129, 46)
HSLhsl(52, 51%, 37%)
HSVhsv(52, 68%, 56%)
CMYKcmyk(0%, 9.2%, 67.6%, 44.3%)
CIE-LABlab(53.65, -5.33, 45.12)
CIE-LCHlch(53.65, 45.43, 96.74°)
OKLaboklab(59.86% -0.0186 0.1019)
OKLCHoklch(59.86% 0.104 100.3)
XYZxyz(19.4996, 21.6494, 5.7359)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E812E #2E3B8E
analogous
#8E512E #8E812E #6B8E2E
triadic
#8E812E #2E8E81 #812E8E
tetradic
#8E812E #2E8E51 #2E3B8E #8E2E6B
square
#8E812E #2E8E51 #2E3B8E #8E2E6B
split-complementary
#8E812E #2E6B8E #512E8E
monochromatic
#322D10 #60571F #8E812E #BCAB3D #CEC068

Accessibility & contrast

On white

3.94
#8E812E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8E812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E812E
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E812E#FFFFFF#000000##000000
##8E812E1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e812e;
/* rgb */ color: rgb(142, 129, 46);
/* oklch */ color: oklch(59.9% 0.104 100.3);
Tailwind
colors: {
  custom: {
    50: '#b2a56b',
    500: '#8e812e',
    950: '#000000',
  },
}
SCSS
$custom: #8e812e;
$custom-light: #b2a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e812e",
  "rgb": {
    "r": 142,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 51.875,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59864,
    "c": 0.10361,
    "h": 100.3
  },
  "luminance": 0.21649
}

Semantic roles & 50–950 ramp

primary
#8E812E
secondary
#636EB5
accent
#60DB4D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8E812E

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

Preview Lab → · Contrast checker → · Palette generator →

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