#8E892E#8E892E

#8E892E is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.7% C 0.111 H 106.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8E892E
RGBrgb(142, 137, 46)
HSLhsl(57, 51%, 37%)
HSVhsv(57, 68%, 56%)
CMYKcmyk(0%, 3.5%, 67.6%, 44.3%)
CIE-LABlab(55.93, -9.72, 47.48)
CIE-LCHlch(55.93, 48.46, 101.57°)
OKLaboklab(61.67% -0.031 0.1069)
OKLCHoklch(61.67% 0.111 106.2)
XYZxyz(20.5949, 23.8401, 6.1010)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E892E #2E338E
analogous
#8E592E #8E892E #638E2E
triadic
#8E892E #2E8E89 #892E8E
tetradic
#8E892E #2E8E59 #2E338E #8E2E63
square
#8E892E #2E8E59 #2E338E #8E2E63
split-complementary
#8E892E #2E638E #592E8E
monochromatic
#323010 #605C1F #8E892E #BCB63D #CEC968

Accessibility & contrast

On white

3.64
#8E892E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8E892E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E892E
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E892E#FFFFFF#000000##000000
##8E892E1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958422
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#988076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e892e;
/* rgb */ color: rgb(142, 137, 46);
/* oklch */ color: oklch(61.7% 0.111 106.2);
Tailwind
colors: {
  custom: {
    50: '#b2ab6c',
    500: '#8e892e',
    950: '#000000',
  },
}
SCSS
$custom: #8e892e;
$custom-light: #b2ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e892e",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 46
  },
  "hsl": {
    "h": 56.875,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61672,
    "c": 0.11133,
    "h": 106.2
  },
  "luminance": 0.23839
}

Semantic roles & 50–950 ramp

primary
#8E892E
secondary
#6367B5
accent
#55DB4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E892E

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

Preview Lab → · Contrast checker → · Palette generator →

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