#8E831E#8E831E

#8E831E is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.2% C 0.116 H 102.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8E831E
RGBrgb(142, 131, 30)
HSLhsl(54, 65%, 34%)
HSVhsv(54, 79%, 56%)
CMYKcmyk(0%, 7.7%, 78.9%, 44.3%)
CIE-LABlab(54.11, -7.27, 51.93)
CIE-LCHlch(54.11, 52.43, 97.97°)
OKLaboklab(60.19% -0.0258 0.1133)
OKLCHoklch(60.19% 0.116 102.8)
XYZxyz(19.5069, 22.0780, 4.4620)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E831E #1E298E
analogous
#8E4B1E #8E831E #618E1E
triadic
#8E831E #1E8E83 #831E8E
tetradic
#8E831E #1E8E4B #1E298E #8E1E61
square
#8E831E #1E8E4B #1E298E #8E1E61
split-complementary
#8E831E #1E618E #4B1E8E
monochromatic
#292609 #5B5413 #8E831E #C1B229 #D9CC4D

Accessibility & contrast

On white

3.88
#8E831E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8E831E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E831E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E831E#FFFFFF#000000##000000
##8E831E1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#938426
Tritanopia (blue-blind)
#997970
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8e831e;
/* rgb */ color: rgb(142, 131, 30);
/* oklch */ color: oklch(60.2% 0.116 102.8);
Tailwind
colors: {
  custom: {
    50: '#b3a663',
    500: '#8e831e',
    950: '#000000',
  },
}
SCSS
$custom: #8e831e;
$custom-light: #b3a663;
$custom-dark: #000000;
JSON
{
  "hex": "#8e831e",
  "rgb": {
    "r": 142,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 54.107,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.60192,
    "c": 0.1162,
    "h": 102.8
  },
  "luminance": 0.22077
}

Semantic roles & 50–950 ramp

primary
#8E831E
secondary
#4C57BC
accent
#50E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E831E

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

Preview Lab → · Contrast checker → · Palette generator →

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