#8A782E#8A782E

#8A782E is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.5% C 0.096 H 95.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8A782E
RGBrgb(138, 120, 46)
HSLhsl(48, 50%, 36%)
HSVhsv(48, 67%, 54%)
CMYKcmyk(0%, 13%, 66.7%, 45.9%)
CIE-LABlab(50.73, -2.14, 41.90)
CIE-LCHlch(50.73, 41.96, 92.92°)
OKLaboklab(57.45% -0.0092 0.0952)
OKLCHoklch(57.45% 0.096 95.5)
XYZxyz(17.6917, 19.0344, 5.3264)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A782E #2E408A
analogous
#8A4A2E #8A782E #6E8A2E
triadic
#8A782E #2E8A78 #782E8A
tetradic
#8A782E #2E8A4A #2E408A #8A2E6E
square
#8A782E #2E8A4A #2E408A #8A2E6E
split-complementary
#8A782E #2E6E8A #4A2E8A
monochromatic
#2E280F #5C501F #8A782E #B8A03D #CCB866

Accessibility & contrast

On white

4.37
#8A782E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8A782E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A782E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A782E#FFFFFF#000000##000000
##8A782E1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#847525
Deuteranopia (green-blind)
#897B32
Tritanopia (blue-blind)
#956F68
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a782e;
/* rgb */ color: rgb(138, 120, 46);
/* oklch */ color: oklch(57.5% 0.096 95.5);
Tailwind
colors: {
  custom: {
    50: '#af9e6a',
    500: '#8a782e',
    950: '#000000',
  },
}
SCSS
$custom: #8a782e;
$custom-light: #af9e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a782e",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 46
  },
  "hsl": {
    "h": 48.261,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57454,
    "c": 0.09568,
    "h": 95.5
  },
  "luminance": 0.19033
}

Semantic roles & 50–950 ramp

primary
#8A782E
secondary
#6171B3
accent
#6ADA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #8A782E

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

Preview Lab → · Contrast checker → · Palette generator →

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