#8A783F#8A783F

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

Color values

HEX#8A783F
RGBrgb(138, 120, 63)
HSLhsl(46, 37%, 39%)
HSVhsv(46, 54%, 54%)
CMYKcmyk(0%, 13%, 54.3%, 45.9%)
CIE-LABlab(50.92, -0.79, 33.56)
CIE-LCHlch(50.92, 33.57, 91.35°)
OKLaboklab(57.66% -0.0031 0.0795)
OKLCHoklch(57.66% 0.08 92.2)
XYZxyz(18.0956, 19.1959, 7.4537)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A783F #3F518A
analogous
#8A533F #8A783F #778A3F
triadic
#8A783F #3F8A78 #783F8A
tetradic
#8A783F #3F8A53 #3F518A #8A3F77
square
#8A783F #3F8A53 #3F518A #8A3F77
split-complementary
#8A783F #3F778A #533F8A
monochromatic
#362F19 #60532C #8A783F #B19B55 #C5B47F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A783F#FFFFFF#000000##000000
##8A783F1.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)
#83763A
Deuteranopia (green-blind)
#877C41
Tritanopia (blue-blind)
#94706B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a783f;
/* rgb */ color: rgb(138, 120, 63);
/* oklch */ color: oklch(57.7% 0.080 92.2);
Tailwind
colors: {
  custom: {
    50: '#ae9e75',
    500: '#8a783f',
    950: '#000000',
  },
}
SCSS
$custom: #8a783f;
$custom-light: #ae9e75;
$custom-dark: #000000;
JSON
{
  "hex": "#8a783f",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 63
  },
  "hsl": {
    "h": 45.6,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.57664,
    "c": 0.07955,
    "h": 92.2
  },
  "luminance": 0.19195
}

Semantic roles & 50–950 ramp

primary
#8A783F
secondary
#7684AF
accent
#76CD5B
background
#FAF9F7
surface
#F5F2ED
border
#CFCCC8
text
#110E08
muted
#807E7B

Preview Lab

Preview with #8A783F

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

Preview Lab → · Contrast checker → · Palette generator →

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