#8A7C2C#8A7C2C

#8A7C2C is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.3% C 0.101 H 99.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8A7C2C
RGBrgb(138, 124, 44)
HSLhsl(51, 52%, 36%)
HSVhsv(51, 68%, 54%)
CMYKcmyk(0%, 10.1%, 68.1%, 45.9%)
CIE-LABlab(51.84, -4.51, 44.00)
CIE-LCHlch(51.84, 44.23, 95.85°)
OKLaboklab(58.33% -0.0162 0.0993)
OKLCHoklch(58.33% 0.101 99.3)
XYZxyz(18.1443, 20.0013, 5.2873)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A7C2C #2C3A8A
analogous
#8A4D2C #8A7C2C #698A2C
triadic
#8A7C2C #2C8A7C #7C2C8A
tetradic
#8A7C2C #2C8A4D #2C3A8A #8A2C69
square
#8A7C2C #2C8A4D #2C3A8A #8A2C69
split-complementary
#8A7C2C #2C698A #4D2C8A
monochromatic
#2D290E #5C521D #8A7C2C #B8A63B #CDBD63

Accessibility & contrast

On white

4.20
#8A7C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8A7C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A7C2C
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A7C2C#FFFFFF#000000##000000
##8A7C2C1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887922
Deuteranopia (green-blind)
#8C7E30
Tritanopia (blue-blind)
#95736B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a7c2c;
/* rgb */ color: rgb(138, 124, 44);
/* oklch */ color: oklch(58.3% 0.101 99.3);
Tailwind
colors: {
  custom: {
    50: '#afa16a',
    500: '#8a7c2c',
    950: '#000000',
  },
}
SCSS
$custom: #8a7c2c;
$custom-light: #afa16a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a7c2c",
  "rgb": {
    "r": 138,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 51.064,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58329,
    "c": 0.10067,
    "h": 99.3
  },
  "luminance": 0.2
}

Semantic roles & 50–950 ramp

primary
#8A7C2C
secondary
#5E6BB4
accent
#62DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A7C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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