#8A783C#8A783C

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

Color values

HEX#8A783C
RGBrgb(138, 120, 60)
HSLhsl(46, 39%, 39%)
HSVhsv(46, 57%, 54%)
CMYKcmyk(0%, 13%, 56.5%, 45.9%)
CIE-LABlab(50.88, -1.06, 35.09)
CIE-LCHlch(50.88, 35.11, 91.73°)
OKLaboklab(57.62% -0.0043 0.0825)
OKLCHoklch(57.62% 0.083 93)
XYZxyz(18.0140, 19.1633, 7.0241)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A783C #3C4E8A
analogous
#8A513C #8A783C #758A3C
triadic
#8A783C #3C8A78 #783C8A
tetradic
#8A783C #3C8A51 #3C4E8A #8A3C75
square
#8A783C #3C8A51 #3C4E8A #8A3C75
split-complementary
#8A783C #3C758A #513C8A
monochromatic
#352E17 #5F5329 #8A783C #B39C50 #C6B47B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A783C#FFFFFF#000000##000000
##8A783C1.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)
#837636
Deuteranopia (green-blind)
#887B3E
Tritanopia (blue-blind)
#94706A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a783c;
/* rgb */ color: rgb(138, 120, 60);
/* oklch */ color: oklch(57.6% 0.083 93.0);
Tailwind
colors: {
  custom: {
    50: '#ae9e73',
    500: '#8a783c',
    950: '#000000',
  },
}
SCSS
$custom: #8a783c;
$custom-light: #ae9e73;
$custom-dark: #000000;
JSON
{
  "hex": "#8a783c",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 60
  },
  "hsl": {
    "h": 46.154,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57622,
    "c": 0.08265,
    "h": 93
  },
  "luminance": 0.19162
}

Semantic roles & 50–950 ramp

primary
#8A783C
secondary
#7381AF
accent
#74CF59
background
#FAF9F7
surface
#F5F2ED
border
#CFCCC8
text
#110E08
muted
#807E7B

Preview Lab

Preview with #8A783C

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

Preview Lab → · Contrast checker → · Palette generator →

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