#8A792E#8A792E

#8A792E is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.7% C 0.096 H 96.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8A792E
RGBrgb(138, 121, 46)
HSLhsl(49, 50%, 36%)
HSVhsv(49, 67%, 54%)
CMYKcmyk(0%, 12.3%, 66.7%, 45.9%)
CIE-LABlab(51.01, -2.70, 42.20)
CIE-LCHlch(51.01, 42.29, 93.66°)
OKLaboklab(57.68% -0.0108 0.0959)
OKLCHoklch(57.68% 0.096 96.4)
XYZxyz(17.8126, 19.2761, 5.3667)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A792E #2E3F8A
analogous
#8A4B2E #8A792E #6D8A2E
triadic
#8A792E #2E8A79 #792E8A
tetradic
#8A792E #2E8A4B #2E3F8A #8A2E6D
square
#8A792E #2E8A4B #2E3F8A #8A2E6D
split-complementary
#8A792E #2E6D8A #4B2E8A
monochromatic
#2E290F #5C511F #8A792E #B8A13D #CCB966

Accessibility & contrast

On white

4.33
#8A792E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8A792E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A792E
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A792E#FFFFFF#000000##000000
##8A792E1.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#857625
Deuteranopia (green-blind)
#897C32
Tritanopia (blue-blind)
#957069
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a792e;
/* rgb */ color: rgb(138, 121, 46);
/* oklch */ color: oklch(57.7% 0.096 96.4);
Tailwind
colors: {
  custom: {
    50: '#af9f6a',
    500: '#8a792e',
    950: '#000000',
  },
}
SCSS
$custom: #8a792e;
$custom-light: #af9f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a792e",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 46
  },
  "hsl": {
    "h": 48.913,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57677,
    "c": 0.09649,
    "h": 96.4
  },
  "luminance": 0.19275
}

Semantic roles & 50–950 ramp

primary
#8A792E
secondary
#6170B3
accent
#68DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A792E

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

Preview Lab → · Contrast checker → · Palette generator →

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