#8A783A#8A783A

#8A783A is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.6% C 0.085 H 93.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8A783A
RGBrgb(138, 120, 58)
HSLhsl(47, 41%, 38%)
HSVhsv(47, 58%, 54%)
CMYKcmyk(0%, 13%, 58%, 45.9%)
CIE-LABlab(50.85, -1.23, 36.11)
CIE-LCHlch(50.85, 36.13, 91.95°)
OKLaboklab(57.6% -0.005 0.0845)
OKLCHoklch(57.6% 0.085 93.4)
XYZxyz(17.9621, 19.1426, 6.7509)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A783A #3A4C8A
analogous
#8A503A #8A783A #748A3A
triadic
#8A783A #3A8A78 #783A8A
tetradic
#8A783A #3A8A50 #3A4C8A #8A3A74
square
#8A783A #3A8A50 #3A4C8A #8A3A74
split-complementary
#8A783A #3A748A #503A8A
monochromatic
#342D16 #5F5328 #8A783A #B49D4D #C6B578

Accessibility & contrast

On white

4.35
#8A783A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8A783A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A783A
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A783A#FFFFFF#000000##000000
##8A783A1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#837634
Deuteranopia (green-blind)
#887B3D
Tritanopia (blue-blind)
#94706A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a783a;
/* rgb */ color: rgb(138, 120, 58);
/* oklch */ color: oklch(57.6% 0.085 93.4);
Tailwind
colors: {
  custom: {
    50: '#ae9e72',
    500: '#8a783a',
    950: '#000000',
  },
}
SCSS
$custom: #8a783a;
$custom-light: #ae9e72;
$custom-dark: #000000;
JSON
{
  "hex": "#8a783a",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 58
  },
  "hsl": {
    "h": 46.5,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.57595,
    "c": 0.08466,
    "h": 93.4
  },
  "luminance": 0.19142
}

Semantic roles & 50–950 ramp

primary
#8A783A
secondary
#707EB0
accent
#72D157
background
#FBF9F7
surface
#F6F2ED
border
#D0CCC8
text
#110E08
muted
#807E7B

Preview Lab

Preview with #8A783A

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

Preview Lab → · Contrast checker → · Palette generator →

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