#8A782A#8A782A

#8A782A is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.4% C 0.099 H 96.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8A782A
RGBrgb(138, 120, 42)
HSLhsl(49, 53%, 35%)
HSVhsv(49, 70%, 54%)
CMYKcmyk(0%, 13%, 69.6%, 45.9%)
CIE-LABlab(50.69, -2.39, 43.70)
CIE-LCHlch(50.69, 43.77, 93.13°)
OKLaboklab(57.42% -0.0104 0.0984)
OKLCHoklch(57.42% 0.099 96)
XYZxyz(17.6165, 19.0043, 4.9303)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A782A #2A3C8A
analogous
#8A482A #8A782A #6C8A2A
triadic
#8A782A #2A8A78 #782A8A
tetradic
#8A782A #2A8A48 #2A3C8A #8A2A6C
square
#8A782A #2A8A48 #2A3C8A #8A2A6C
split-complementary
#8A782A #2A6C8A #482A8A
monochromatic
#2C260D #5B4F1C #8A782A #B9A138 #CFBA60

Accessibility & contrast

On white

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

On black

4.80
#8A782A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A782A
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A782A#FFFFFF#000000##000000
##8A782A1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a782a;
/* rgb */ color: rgb(138, 120, 42);
/* oklch */ color: oklch(57.4% 0.099 96.0);
Tailwind
colors: {
  custom: {
    50: '#af9e68',
    500: '#8a782a',
    950: '#000000',
  },
}
SCSS
$custom: #8a782a;
$custom-light: #af9e68;
$custom-dark: #000000;
JSON
{
  "hex": "#8a782a",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 42
  },
  "hsl": {
    "h": 48.75,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57415,
    "c": 0.09892,
    "h": 96
  },
  "luminance": 0.19003
}

Semantic roles & 50–950 ramp

primary
#8A782A
secondary
#5B6CB4
accent
#66DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A782A

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

Preview Lab → · Contrast checker → · Palette generator →

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