#8E793A#8E793A

#8E793A is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.2% C 0.086 H 91.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8E793A
RGBrgb(142, 121, 58)
HSLhsl(45, 42%, 39%)
HSVhsv(45, 59%, 56%)
CMYKcmyk(0%, 14.8%, 59.2%, 44.3%)
CIE-LABlab(51.53, 0.01, 37.00)
CIE-LCHlch(51.53, 37.00, 89.98°)
OKLaboklab(58.23% -0.0017 0.0864)
OKLCHoklch(58.23% 0.086 91.1)
XYZxyz(18.7572, 19.7320, 6.8228)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E793A #3A4F8E
analogous
#8E4F3A #8E793A #798E3A
triadic
#8E793A #3A8E79 #793A8E
tetradic
#8E793A #3A8E4F #3A4F8E #8E3A79
square
#8E793A #3A8E4F #3A4F8E #8E3A79
split-complementary
#8E793A #3A798E #4F3A8E
monochromatic
#372F17 #635428 #8E793A #B79D4E #C9B57A

Accessibility & contrast

On white

4.25
#8E793A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8E793A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E793A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E793A#FFFFFF#000000##000000
##8E793A1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#857734
Deuteranopia (green-blind)
#8A7D3D
Tritanopia (blue-blind)
#99706B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8e793a;
/* rgb */ color: rgb(142, 121, 58);
/* oklch */ color: oklch(58.2% 0.086 91.1);
Tailwind
colors: {
  custom: {
    50: '#b19f72',
    500: '#8e793a',
    950: '#000000',
  },
}
SCSS
$custom: #8e793a;
$custom-light: #b19f72;
$custom-dark: #000000;
JSON
{
  "hex": "#8e793a",
  "rgb": {
    "r": 142,
    "g": 121,
    "b": 58
  },
  "hsl": {
    "h": 45,
    "s": 42,
    "l": 39.216
  },
  "oklch": {
    "l": 0.58225,
    "c": 0.08637,
    "h": 91.1
  },
  "luminance": 0.19731
}

Semantic roles & 50–950 ramp

primary
#8E793A
secondary
#7282B2
accent
#75D256
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#110E08
muted
#807E7B

Preview Lab

Preview with #8E793A

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

Preview Lab → · Contrast checker → · Palette generator →

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