#8A783E#8A783E

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

Color values

HEX#8A783E
RGBrgb(138, 120, 62)
HSLhsl(46, 38%, 39%)
HSVhsv(46, 55%, 54%)
CMYKcmyk(0%, 13%, 55.1%, 45.9%)
CIE-LABlab(50.90, -0.88, 34.07)
CIE-LCHlch(50.90, 34.08, 91.48°)
OKLaboklab(57.65% -0.0035 0.0805)
OKLCHoklch(57.65% 0.081 92.5)
XYZxyz(18.0679, 19.1849, 7.3078)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A783E #3E508A
analogous
#8A523E #8A783E #768A3E
triadic
#8A783E #3E8A78 #783E8A
tetradic
#8A783E #3E8A52 #3E508A #8A3E76
square
#8A783E #3E8A52 #3E508A #8A3E76
split-complementary
#8A783E #3E768A #523E8A
monochromatic
#362F18 #60532B #8A783E #B29B53 #C5B47E

Accessibility & contrast

On white

4.34
#8A783E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8A783E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A783E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A783E#FFFFFF#000000##000000
##8A783E1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#837639
Deuteranopia (green-blind)
#877B40
Tritanopia (blue-blind)
#94706B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a783e;
/* rgb */ color: rgb(138, 120, 62);
/* oklch */ color: oklch(57.6% 0.081 92.5);
Tailwind
colors: {
  custom: {
    50: '#ae9e75',
    500: '#8a783e',
    950: '#000000',
  },
}
SCSS
$custom: #8a783e;
$custom-light: #ae9e75;
$custom-dark: #000000;
JSON
{
  "hex": "#8a783e",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 62
  },
  "hsl": {
    "h": 45.789,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5765,
    "c": 0.0806,
    "h": 92.5
  },
  "luminance": 0.19184
}

Semantic roles & 50–950 ramp

primary
#8A783E
secondary
#7583AF
accent
#75CE5A
background
#FAF9F7
surface
#F5F2ED
border
#CFCCC8
text
#110E08
muted
#807E7B

Preview Lab

Preview with #8A783E

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

Preview Lab → · Contrast checker → · Palette generator →

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