#8A792B#8A792B

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

Color values

HEX#8A792B
RGBrgb(138, 121, 43)
HSLhsl(49, 52%, 35%)
HSVhsv(49, 69%, 54%)
CMYKcmyk(0%, 12.3%, 68.8%, 45.9%)
CIE-LABlab(50.98, -2.89, 43.55)
CIE-LCHlch(50.98, 43.65, 93.80°)
OKLaboklab(57.65% -0.0117 0.0982)
OKLCHoklch(57.65% 0.099 96.8)
XYZxyz(17.7555, 19.2533, 5.0661)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A792B #2B3C8A
analogous
#8A492B #8A792B #6B8A2B
triadic
#8A792B #2B8A79 #792B8A
tetradic
#8A792B #2B8A49 #2B3C8A #8A2B6B
square
#8A792B #2B8A49 #2B3C8A #8A2B6B
split-complementary
#8A792B #2B6B8A #492B8A
monochromatic
#2D270E #5B501C #8A792B #B9A23A #CEBB61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A792B#FFFFFF#000000##000000
##8A792B1.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)
#857621
Deuteranopia (green-blind)
#8A7C2F
Tritanopia (blue-blind)
#957069
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a792b;
/* rgb */ color: rgb(138, 121, 43);
/* oklch */ color: oklch(57.6% 0.099 96.8);
Tailwind
colors: {
  custom: {
    50: '#af9f69',
    500: '#8a792b',
    950: '#000000',
  },
}
SCSS
$custom: #8a792b;
$custom-light: #af9f69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a792b",
  "rgb": {
    "r": 138,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 49.263,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57648,
    "c": 0.09893,
    "h": 96.8
  },
  "luminance": 0.19252
}

Semantic roles & 50–950 ramp

primary
#8A792B
secondary
#5D6CB4
accent
#66DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A792B

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

Preview Lab → · Contrast checker → · Palette generator →

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