#8E892F#8E892F

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

Color values

HEX#8E892F
RGBrgb(142, 137, 47)
HSLhsl(57, 50%, 37%)
HSVhsv(57, 67%, 56%)
CMYKcmyk(0%, 3.5%, 66.9%, 44.3%)
CIE-LABlab(55.94, -9.65, 47.06)
CIE-LCHlch(55.94, 48.04, 101.59°)
OKLaboklab(61.68% -0.0307 0.1062)
OKLCHoklch(61.68% 0.111 106.1)
XYZxyz(20.6148, 23.8480, 6.2060)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E892F #2F348E
analogous
#8E5A2F #8E892F #648E2F
triadic
#8E892F #2F8E89 #892F8E
tetradic
#8E892F #2F8E5A #2F348E #8E2F64
square
#8E892F #2F8E5A #2F348E #8E2F64
split-complementary
#8E892F #2F648E #5A2F8E
monochromatic
#323011 #605D20 #8E892F #BCB53E #CEC86A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E892F#FFFFFF#000000##000000
##8E892F1.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)
#958423
Deuteranopia (green-blind)
#978835
Tritanopia (blue-blind)
#988077
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e892f;
/* rgb */ color: rgb(142, 137, 47);
/* oklch */ color: oklch(61.7% 0.111 106.1);
Tailwind
colors: {
  custom: {
    50: '#b2ab6d',
    500: '#8e892f',
    950: '#000000',
  },
}
SCSS
$custom: #8e892f;
$custom-light: #b2ab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e892f",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 47
  },
  "hsl": {
    "h": 56.842,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61681,
    "c": 0.11055,
    "h": 106.1
  },
  "luminance": 0.23847
}

Semantic roles & 50–950 ramp

primary
#8E892F
secondary
#6468B5
accent
#55DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E892F

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

Preview Lab → · Contrast checker → · Palette generator →

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