#8A792A#8A792A

#8A792A is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.6% C 0.100 H 96.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8A792A
RGBrgb(138, 121, 42)
HSLhsl(49, 53%, 35%)
HSVhsv(49, 70%, 54%)
CMYKcmyk(0%, 12.3%, 69.6%, 45.9%)
CIE-LABlab(50.97, -2.95, 43.99)
CIE-LCHlch(50.97, 44.09, 93.84°)
OKLaboklab(57.64% -0.012 0.099)
OKLCHoklch(57.64% 0.1 96.9)
XYZxyz(17.7374, 19.2461, 4.9706)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A792A #2A3B8A
analogous
#8A492A #8A792A #6B8A2A
triadic
#8A792A #2A8A79 #792A8A
tetradic
#8A792A #2A8A49 #2A3B8A #8A2A6B
square
#8A792A #2A8A49 #2A3B8A #8A2A6B
split-complementary
#8A792A #2A6B8A #492A8A
monochromatic
#2C270D #5B501C #8A792A #B9A238 #CFBB60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A792A#FFFFFF#000000##000000
##8A792A1.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)
#857620
Deuteranopia (green-blind)
#8A7C2E
Tritanopia (blue-blind)
#957069
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a792a;
/* rgb */ color: rgb(138, 121, 42);
/* oklch */ color: oklch(57.6% 0.100 96.9);
Tailwind
colors: {
  custom: {
    50: '#af9f68',
    500: '#8a792a',
    950: '#000000',
  },
}
SCSS
$custom: #8a792a;
$custom-light: #af9f68;
$custom-dark: #000000;
JSON
{
  "hex": "#8a792a",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 49.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57638,
    "c": 0.09972,
    "h": 96.9
  },
  "luminance": 0.19245
}

Semantic roles & 50–950 ramp

primary
#8A792A
secondary
#5B6BB4
accent
#65DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A792A

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

Preview Lab → · Contrast checker → · Palette generator →

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