#8A793E#8A793E

#8A793E is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.9% C 0.081 H 93.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8A793E
RGBrgb(138, 121, 62)
HSLhsl(47, 38%, 39%)
HSVhsv(47, 55%, 54%)
CMYKcmyk(0%, 12.3%, 55.1%, 45.9%)
CIE-LABlab(51.18, -1.45, 34.41)
CIE-LCHlch(51.18, 34.44, 92.41°)
OKLaboklab(57.87% -0.0051 0.0813)
OKLCHoklch(57.87% 0.081 93.6)
XYZxyz(18.1888, 19.4266, 7.3481)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A793E #3E4F8A
analogous
#8A533E #8A793E #758A3E
triadic
#8A793E #3E8A79 #793E8A
tetradic
#8A793E #3E8A53 #3E4F8A #8A3E75
square
#8A793E #3E8A53 #3E4F8A #8A3E75
split-complementary
#8A793E #3E758A #533E8A
monochromatic
#362F18 #60542B #8A793E #B29D53 #C5B57E

Accessibility & contrast

On white

4.30
#8A793E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8A793E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A793E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A793E#FFFFFF#000000##000000
##8A793E1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#847739
Deuteranopia (green-blind)
#887C40
Tritanopia (blue-blind)
#94716B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a793e;
/* rgb */ color: rgb(138, 121, 62);
/* oklch */ color: oklch(57.9% 0.081 93.6);
Tailwind
colors: {
  custom: {
    50: '#ae9f75',
    500: '#8a793e',
    950: '#000000',
  },
}
SCSS
$custom: #8a793e;
$custom-light: #ae9f75;
$custom-dark: #000000;
JSON
{
  "hex": "#8a793e",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 62
  },
  "hsl": {
    "h": 46.579,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.57871,
    "c": 0.08141,
    "h": 93.6
  },
  "luminance": 0.19426
}

Semantic roles & 50–950 ramp

primary
#8A793E
secondary
#7582AF
accent
#74CE5A
background
#FAF9F7
surface
#F5F2ED
border
#CFCCC8
text
#110E08
muted
#807E7B

Preview Lab

Preview with #8A793E

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

Preview Lab → · Contrast checker → · Palette generator →

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