#8E792E#8E792E

#8E792E is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.1% C 0.097 H 93.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8E792E
RGBrgb(142, 121, 46)
HSLhsl(47, 51%, 37%)
HSVhsv(47, 68%, 56%)
CMYKcmyk(0%, 14.8%, 67.6%, 44.3%)
CIE-LABlab(51.41, -0.86, 42.75)
CIE-LCHlch(51.41, 42.76, 91.15°)
OKLaboklab(58.09% -0.0058 0.0969)
OKLCHoklch(58.09% 0.097 93.4)
XYZxyz(18.4867, 19.6238, 5.3983)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E792E #2E438E
analogous
#8E492E #8E792E #738E2E
triadic
#8E792E #2E8E79 #792E8E
tetradic
#8E792E #2E8E49 #2E438E #8E2E73
square
#8E792E #2E8E49 #2E438E #8E2E73
split-complementary
#8E792E #2E738E #492E8E
monochromatic
#322A10 #60521F #8E792E #BCA03D #CEB868

Accessibility & contrast

On white

4.26
#8E792E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8E792E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E792E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E792E#FFFFFF#000000##000000
##8E792E1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867725
Deuteranopia (green-blind)
#8B7D32
Tritanopia (blue-blind)
#997069
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e792e;
/* rgb */ color: rgb(142, 121, 46);
/* oklch */ color: oklch(58.1% 0.097 93.4);
Tailwind
colors: {
  custom: {
    50: '#b29f6b',
    500: '#8e792e',
    950: '#000000',
  },
}
SCSS
$custom: #8e792e;
$custom-light: #b29f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e792e",
  "rgb": {
    "r": 142,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 46.875,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58088,
    "c": 0.09708,
    "h": 93.4
  },
  "luminance": 0.19623
}

Semantic roles & 50–950 ramp

primary
#8E792E
secondary
#6375B5
accent
#6CDB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8E792E

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

Preview Lab → · Contrast checker → · Palette generator →

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