#8A782B#8A782B

#8A782B is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.4% C 0.098 H 95.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8A782B
RGBrgb(138, 120, 43)
HSLhsl(49, 52%, 35%)
HSVhsv(49, 69%, 54%)
CMYKcmyk(0%, 13%, 68.8%, 45.9%)
CIE-LABlab(50.70, -2.33, 43.26)
CIE-LCHlch(50.70, 43.32, 93.08°)
OKLaboklab(57.43% -0.0101 0.0976)
OKLCHoklch(57.43% 0.098 95.9)
XYZxyz(17.6346, 19.0115, 5.0258)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A782B #2B3D8A
analogous
#8A492B #8A782B #6C8A2B
triadic
#8A782B #2B8A78 #782B8A
tetradic
#8A782B #2B8A49 #2B3D8A #8A2B6C
square
#8A782B #2B8A49 #2B3D8A #8A2B6C
split-complementary
#8A782B #2B6C8A #492B8A
monochromatic
#2D270E #5B4F1C #8A782B #B9A13A #CEB961

Accessibility & contrast

On white

4.37
#8A782B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8A782B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A782B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A782B#FFFFFF#000000##000000
##8A782B1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#847521
Deuteranopia (green-blind)
#897B2F
Tritanopia (blue-blind)
#956F68
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8a782b;
/* rgb */ color: rgb(138, 120, 43);
/* oklch */ color: oklch(57.4% 0.098 95.9);
Tailwind
colors: {
  custom: {
    50: '#af9e69',
    500: '#8a782b',
    950: '#000000',
  },
}
SCSS
$custom: #8a782b;
$custom-light: #af9e69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a782b",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 43
  },
  "hsl": {
    "h": 48.632,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57425,
    "c": 0.09813,
    "h": 95.9
  },
  "luminance": 0.19011
}

Semantic roles & 50–950 ramp

primary
#8A782B
secondary
#5D6DB4
accent
#67DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8A782B

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

Preview Lab → · Contrast checker → · Palette generator →

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