#8E792A#8E792A

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

Color values

HEX#8E792A
RGBrgb(142, 121, 42)
HSLhsl(47, 54%, 36%)
HSVhsv(47, 70%, 56%)
CMYKcmyk(0%, 14.8%, 70.4%, 44.3%)
CIE-LABlab(51.37, -1.10, 44.53)
CIE-LCHlch(51.37, 44.55, 91.42°)
OKLaboklab(58.05% -0.007 0.1)
OKLCHoklch(58.05% 0.1 94)
XYZxyz(18.4115, 19.5937, 5.0022)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E792A #2A3F8E
analogous
#8E472A #8E792A #718E2A
triadic
#8E792A #2A8E79 #792A8E
tetradic
#8E792A #2A8E47 #2A3F8E #8E2A71
square
#8E792A #2A8E47 #2A3F8E #8E2A71
split-complementary
#8E792A #2A718E #472A8E
monochromatic
#30290E #5F511C #8E792A #BDA138 #D1B962

Accessibility & contrast

On white

4.27
#8E792A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E792A#FFFFFF#000000##000000
##8E792A1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867720
Deuteranopia (green-blind)
#8B7D2E
Tritanopia (blue-blind)
#996F69
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8e792a;
/* rgb */ color: rgb(142, 121, 42);
/* oklch */ color: oklch(58.0% 0.100 94.0);
Tailwind
colors: {
  custom: {
    50: '#b29f68',
    500: '#8e792a',
    950: '#000000',
  },
}
SCSS
$custom: #8e792a;
$custom-light: #b29f68;
$custom-dark: #000000;
JSON
{
  "hex": "#8e792a",
  "rgb": {
    "r": 142,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 47.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58049,
    "c": 0.10023,
    "h": 94
  },
  "luminance": 0.19593
}

Semantic roles & 50–950 ramp

primary
#8E792A
secondary
#5D70B6
accent
#69DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8E792A

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

Preview Lab → · Contrast checker → · Palette generator →

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