#8A783D#8A783D

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

Color values

HEX#8A783D
RGBrgb(138, 120, 61)
HSLhsl(46, 39%, 39%)
HSVhsv(46, 56%, 54%)
CMYKcmyk(0%, 13%, 55.8%, 45.9%)
CIE-LABlab(50.89, -0.97, 34.58)
CIE-LCHlch(50.89, 34.60, 91.61°)
OKLaboklab(57.64% -0.0039 0.0815)
OKLCHoklch(57.64% 0.082 92.7)
XYZxyz(18.0407, 19.1740, 7.1647)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A783D #3D4F8A
analogous
#8A523D #8A783D #768A3D
triadic
#8A783D #3D8A78 #783D8A
tetradic
#8A783D #3D8A52 #3D4F8A #8A3D76
square
#8A783D #3D8A52 #3D4F8A #8A3D76
split-complementary
#8A783D #3D768A #523D8A
monochromatic
#352E17 #60532A #8A783D #B29C52 #C5B47C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A783D#FFFFFF#000000##000000
##8A783D1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a783d;
/* rgb */ color: rgb(138, 120, 61);
/* oklch */ color: oklch(57.6% 0.082 92.7);
Tailwind
colors: {
  custom: {
    50: '#ae9e74',
    500: '#8a783d',
    950: '#000000',
  },
}
SCSS
$custom: #8a783d;
$custom-light: #ae9e74;
$custom-dark: #000000;
JSON
{
  "hex": "#8a783d",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 61
  },
  "hsl": {
    "h": 45.974,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.57635,
    "c": 0.08163,
    "h": 92.7
  },
  "luminance": 0.19173
}

Semantic roles & 50–950 ramp

primary
#8A783D
secondary
#7482AF
accent
#75CF59
background
#FAF9F7
surface
#F5F2ED
border
#CFCCC8
text
#110E08
muted
#807E7B

Preview Lab

Preview with #8A783D

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

Preview Lab → · Contrast checker → · Palette generator →

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