#8A792D#8A792D

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

Color values

HEX#8A792D
RGBrgb(138, 121, 45)
HSLhsl(49, 51%, 36%)
HSVhsv(49, 67%, 54%)
CMYKcmyk(0%, 12.3%, 67.4%, 45.9%)
CIE-LABlab(51.00, -2.76, 42.66)
CIE-LCHlch(51.00, 42.75, 93.71°)
OKLaboklab(57.67% -0.0111 0.0967)
OKLCHoklch(57.67% 0.097 96.6)
XYZxyz(17.7931, 19.2684, 5.2641)
Luminance0.1927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A792D #2D3E8A
analogous
#8A4A2D #8A792D #6C8A2D
triadic
#8A792D #2D8A79 #792D8A
tetradic
#8A792D #2D8A4A #2D3E8A #8A2D6C
square
#8A792D #2D8A4A #2D3E8A #8A2D6C
split-complementary
#8A792D #2D6C8A #4A2D8A
monochromatic
#2E280F #5C511E #8A792D #B8A13C #CDBA65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A792D#FFFFFF#000000##000000
##8A792D1.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)
#857624
Deuteranopia (green-blind)
#897C31
Tritanopia (blue-blind)
#957069
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a792d;
/* rgb */ color: rgb(138, 121, 45);
/* oklch */ color: oklch(57.7% 0.097 96.6);
Tailwind
colors: {
  custom: {
    50: '#af9f6a',
    500: '#8a792d',
    950: '#000000',
  },
}
SCSS
$custom: #8a792d;
$custom-light: #af9f6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a792d",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 45
  },
  "hsl": {
    "h": 49.032,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57667,
    "c": 0.09732,
    "h": 96.6
  },
  "luminance": 0.19267
}

Semantic roles & 50–950 ramp

primary
#8A792D
secondary
#606FB3
accent
#67DA4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A792D

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

Preview Lab → · Contrast checker → · Palette generator →

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