#8E892C#8E892C

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

Color values

HEX#8E892C
RGBrgb(142, 137, 44)
HSLhsl(57, 53%, 36%)
HSVhsv(57, 69%, 56%)
CMYKcmyk(0%, 3.5%, 69%, 44.3%)
CIE-LABlab(55.91, -9.84, 48.31)
CIE-LCHlch(55.91, 49.30, 101.51°)
OKLaboklab(61.66% -0.0316 0.1083)
OKLCHoklch(61.66% 0.113 106.3)
XYZxyz(20.5564, 23.8247, 5.8982)
Luminance0.2382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E892C #2C318E
analogous
#8E582C #8E892C #628E2C
triadic
#8E892C #2C8E89 #892C8E
tetradic
#8E892C #2C8E58 #2C318E #8E2C62
square
#8E892C #2C8E58 #2C318E #8E2C62
split-complementary
#8E892C #2C628E #582C8E
monochromatic
#312F0F #5F5C1E #8E892C #BDB63A #CFCA65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E892C#FFFFFF#000000##000000
##8E892C1.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)
#95841F
Deuteranopia (green-blind)
#978832
Tritanopia (blue-blind)
#988076
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8e892c;
/* rgb */ color: rgb(142, 137, 44);
/* oklch */ color: oklch(61.7% 0.113 106.3);
Tailwind
colors: {
  custom: {
    50: '#b2ab6b',
    500: '#8e892c',
    950: '#000000',
  },
}
SCSS
$custom: #8e892c;
$custom-light: #b2ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e892c",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 44
  },
  "hsl": {
    "h": 56.939,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61655,
    "c": 0.11284,
    "h": 106.3
  },
  "luminance": 0.23824
}

Semantic roles & 50–950 ramp

primary
#8E892C
secondary
#6064B6
accent
#53DC4C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E892C

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

Preview Lab → · Contrast checker → · Palette generator →

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