#8E892D#8E892D

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

Color values

HEX#8E892D
RGBrgb(142, 137, 45)
HSLhsl(57, 52%, 37%)
HSVhsv(57, 68%, 56%)
CMYKcmyk(0%, 3.5%, 68.3%, 44.3%)
CIE-LABlab(55.92, -9.78, 47.90)
CIE-LCHlch(55.92, 48.89, 101.54°)
OKLaboklab(61.66% -0.0313 0.1076)
OKLCHoklch(61.66% 0.112 106.2)
XYZxyz(20.5754, 23.8323, 5.9984)
Luminance0.2383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E892D #2D328E
analogous
#8E592D #8E892D #638E2D
triadic
#8E892D #2D8E89 #892D8E
tetradic
#8E892D #2D8E59 #2D328E #8E2D63
square
#8E892D #2D8E59 #2D328E #8E2D63
split-complementary
#8E892D #2D638E #592D8E
monochromatic
#312F10 #605C1E #8E892D #BCB63C #CFC967

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E892D#FFFFFF#000000##000000
##8E892D1.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)
#958420
Deuteranopia (green-blind)
#978833
Tritanopia (blue-blind)
#988076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e892d;
/* rgb */ color: rgb(142, 137, 45);
/* oklch */ color: oklch(61.7% 0.112 106.2);
Tailwind
colors: {
  custom: {
    50: '#b2ab6b',
    500: '#8e892d',
    950: '#000000',
  },
}
SCSS
$custom: #8e892d;
$custom-light: #b2ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e892d",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 45
  },
  "hsl": {
    "h": 56.907,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61663,
    "c": 0.11209,
    "h": 106.2
  },
  "luminance": 0.23832
}

Semantic roles & 50–950 ramp

primary
#8E892D
secondary
#6166B5
accent
#54DB4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E892D

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

Preview Lab → · Contrast checker → · Palette generator →

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