#8A792C#8A792C

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

Color values

HEX#8A792C
RGBrgb(138, 121, 44)
HSLhsl(49, 52%, 36%)
HSVhsv(49, 68%, 54%)
CMYKcmyk(0%, 12.3%, 68.1%, 45.9%)
CIE-LABlab(50.99, -2.83, 43.11)
CIE-LCHlch(50.99, 43.20, 93.75°)
OKLaboklab(57.66% -0.0114 0.0975)
OKLCHoklch(57.66% 0.098 96.7)
XYZxyz(17.7740, 19.2607, 5.1639)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A792C #2C3D8A
analogous
#8A4A2C #8A792C #6C8A2C
triadic
#8A792C #2C8A79 #792C8A
tetradic
#8A792C #2C8A4A #2C3D8A #8A2C6C
square
#8A792C #2C8A4A #2C3D8A #8A2C6C
split-complementary
#8A792C #2C6C8A #4A2C8A
monochromatic
#2D280E #5C501D #8A792C #B8A23B #CDBA63

Accessibility & contrast

On white

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

On black

4.85
#8A792C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A792C
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A792C#FFFFFF#000000##000000
##8A792C1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#857622
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#957069
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a792c;
/* rgb */ color: rgb(138, 121, 44);
/* oklch */ color: oklch(57.7% 0.098 96.7);
Tailwind
colors: {
  custom: {
    50: '#af9f69',
    500: '#8a792c',
    950: '#000000',
  },
}
SCSS
$custom: #8a792c;
$custom-light: #af9f69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a792c",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 49.149,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57657,
    "c": 0.09813,
    "h": 96.7
  },
  "luminance": 0.1926
}

Semantic roles & 50–950 ramp

primary
#8A792C
secondary
#5E6EB4
accent
#66DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A792C

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

Preview Lab → · Contrast checker → · Palette generator →

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