#8A7A2C#8A7A2C

#8A7A2C is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.099 H 97.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8A7A2C
RGBrgb(138, 122, 44)
HSLhsl(50, 52%, 36%)
HSVhsv(50, 68%, 54%)
CMYKcmyk(0%, 11.6%, 68.1%, 45.9%)
CIE-LABlab(51.27, -3.39, 43.40)
CIE-LCHlch(51.27, 43.54, 94.47°)
OKLaboklab(57.88% -0.013 0.0981)
OKLCHoklch(57.88% 0.099 97.6)
XYZxyz(17.8962, 19.5050, 5.2046)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7A2C #2C3C8A
analogous
#8A4B2C #8A7A2C #6B8A2C
triadic
#8A7A2C #2C8A7A #7A2C8A
tetradic
#8A7A2C #2C8A4B #2C3C8A #8A2C6B
square
#8A7A2C #2C8A4B #2C3C8A #8A2C6B
split-complementary
#8A7A2C #2C6B8A #4B2C8A
monochromatic
#2D280E #5C511D #8A7A2C #B8A33B #CDBB63

Accessibility & contrast

On white

4.29
#8A7A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8A7A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7A2C
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7A2C#FFFFFF#000000##000000
##8A7A2C1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#867722
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#95716A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8a7a2c;
/* rgb */ color: rgb(138, 122, 44);
/* oklch */ color: oklch(57.9% 0.099 97.6);
Tailwind
colors: {
  custom: {
    50: '#afa069',
    500: '#8a7a2c',
    950: '#000000',
  },
}
SCSS
$custom: #8a7a2c;
$custom-light: #afa069;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7a2c",
  "rgb": {
    "r": 138,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 49.787,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5788,
    "c": 0.09895,
    "h": 97.6
  },
  "luminance": 0.19504
}

Semantic roles & 50–950 ramp

primary
#8A7A2C
secondary
#5E6DB4
accent
#65DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A7A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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