#8E892A#8E892A

#8E892A is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.114 H 106.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8E892A
RGBrgb(142, 137, 42)
HSLhsl(57, 54%, 36%)
HSVhsv(57, 70%, 56%)
CMYKcmyk(0%, 3.5%, 70.4%, 44.3%)
CIE-LABlab(55.90, -9.95, 49.12)
CIE-LCHlch(55.90, 50.12, 101.45°)
OKLaboklab(61.64% -0.0321 0.1097)
OKLCHoklch(61.64% 0.114 106.3)
XYZxyz(20.5197, 23.8100, 5.7049)
Luminance0.2381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E892A #2A2F8E
analogous
#8E572A #8E892A #618E2A
triadic
#8E892A #2A8E89 #892A8E
tetradic
#8E892A #2A8E57 #2A2F8E #8E2A61
square
#8E892A #2A8E57 #2A2F8E #8E2A61
split-complementary
#8E892A #2A618E #572A8E
monochromatic
#302E0E #5F5B1C #8E892A #BDB738 #D1CB62

Accessibility & contrast

On white

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

On black

5.76
#8E892A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E892A
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E892A#FFFFFF#000000##000000
##8E892A1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841B
Deuteranopia (green-blind)
#978830
Tritanopia (blue-blind)
#998076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e892a;
/* rgb */ color: rgb(142, 137, 42);
/* oklch */ color: oklch(61.6% 0.114 106.3);
Tailwind
colors: {
  custom: {
    50: '#b2ab6a',
    500: '#8e892a',
    950: '#000000',
  },
}
SCSS
$custom: #8e892a;
$custom-light: #b2ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e892a",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 42
  },
  "hsl": {
    "h": 57,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61638,
    "c": 0.11429,
    "h": 106.3
  },
  "luminance": 0.23809
}

Semantic roles & 50–950 ramp

primary
#8E892A
secondary
#5D62B6
accent
#51DE4A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E892A

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

Preview Lab → · Contrast checker → · Palette generator →

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