#8E892B#8E892B

#8E892B 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#8E892B
RGBrgb(142, 137, 43)
HSLhsl(57, 54%, 36%)
HSVhsv(57, 70%, 56%)
CMYKcmyk(0%, 3.5%, 69.7%, 44.3%)
CIE-LABlab(55.90, -9.90, 48.72)
CIE-LCHlch(55.90, 49.71, 101.48°)
OKLaboklab(61.65% -0.0319 0.109)
OKLCHoklch(61.65% 0.114 106.3)
XYZxyz(20.5378, 23.8172, 5.8004)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E892B #2B308E
analogous
#8E582B #8E892B #628E2B
triadic
#8E892B #2B8E89 #892B8E
tetradic
#8E892B #2B8E58 #2B308E #8E2B62
square
#8E892B #2B8E58 #2B308E #8E2B62
split-complementary
#8E892B #2B628E #582B8E
monochromatic
#302E0F #5F5C1D #8E892B #BDB639 #D0CA63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E892B#FFFFFF#000000##000000
##8E892B1.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)
#95841D
Deuteranopia (green-blind)
#978831
Tritanopia (blue-blind)
#988076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e892b;
/* rgb */ color: rgb(142, 137, 43);
/* oklch */ color: oklch(61.6% 0.114 106.3);
Tailwind
colors: {
  custom: {
    50: '#b2ab6a',
    500: '#8e892b',
    950: '#000000',
  },
}
SCSS
$custom: #8e892b;
$custom-light: #b2ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e892b",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 43
  },
  "hsl": {
    "h": 56.97,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61646,
    "c": 0.11357,
    "h": 106.3
  },
  "luminance": 0.23817
}

Semantic roles & 50–950 ramp

primary
#8E892B
secondary
#5F63B6
accent
#52DD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E892B

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

Preview Lab → · Contrast checker → · Palette generator →

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