#8A791E#8A791E

#8A791E is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.5% C 0.108 H 98.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8A791E
RGBrgb(138, 121, 30)
HSLhsl(51, 64%, 33%)
HSVhsv(51, 78%, 54%)
CMYKcmyk(0%, 12.3%, 78.3%, 45.9%)
CIE-LABlab(50.89, -3.57, 48.82)
CIE-LCHlch(50.89, 48.95, 94.19°)
OKLaboklab(57.54% -0.0152 0.1069)
OKLCHoklch(57.54% 0.108 98.1)
XYZxyz(17.5538, 19.1727, 4.0041)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A791E #1E2F8A
analogous
#8A431E #8A791E #658A1E
triadic
#8A791E #1E8A79 #791E8A
tetradic
#8A791E #1E8A43 #1E2F8A #8A1E65
square
#8A791E #1E8A43 #1E2F8A #8A1E65
split-complementary
#8A791E #1E658A #431E8A
monochromatic
#252108 #584D13 #8A791E #BCA529 #D8C24B

Accessibility & contrast

On white

4.34
#8A791E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8A791E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A791E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A791E#FFFFFF#000000##000000
##8A791E1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86760B
Deuteranopia (green-blind)
#8A7C24
Tritanopia (blue-blind)
#956F68
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a791e;
/* rgb */ color: rgb(138, 121, 30);
/* oklch */ color: oklch(57.5% 0.108 98.1);
Tailwind
colors: {
  custom: {
    50: '#b09f62',
    500: '#8a791e',
    950: '#000000',
  },
}
SCSS
$custom: #8a791e;
$custom-light: #b09f62;
$custom-dark: #000000;
JSON
{
  "hex": "#8a791e",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 50.556,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57544,
    "c": 0.10792,
    "h": 98.1
  },
  "luminance": 0.19172
}

Semantic roles & 50–950 ramp

primary
#8A791E
secondary
#4A5BBA
accent
#5BE741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A791E

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

Preview Lab → · Contrast checker → · Palette generator →

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