#8A781E#8A781E

#8A781E is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.3% C 0.107 H 97.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8A781E
RGBrgb(138, 120, 30)
HSLhsl(50, 64%, 33%)
HSVhsv(50, 78%, 54%)
CMYKcmyk(0%, 13%, 78.3%, 45.9%)
CIE-LABlab(50.61, -3.01, 48.55)
CIE-LCHlch(50.61, 48.65, 93.55°)
OKLaboklab(57.32% -0.0136 0.1063)
OKLCHoklch(57.32% 0.107 97.3)
XYZxyz(17.4330, 18.9309, 3.9638)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A781E #1E308A
analogous
#8A421E #8A781E #668A1E
triadic
#8A781E #1E8A78 #781E8A
tetradic
#8A781E #1E8A42 #1E308A #8A1E66
square
#8A781E #1E8A42 #1E308A #8A1E66
split-complementary
#8A781E #1E668A #421E8A
monochromatic
#252108 #584C13 #8A781E #BCA429 #D8C04B

Accessibility & contrast

On white

4.39
#8A781E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8A781E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A781E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A781E#FFFFFF#000000##000000
##8A781E1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#956E67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8a781e;
/* rgb */ color: rgb(138, 120, 30);
/* oklch */ color: oklch(57.3% 0.107 97.3);
Tailwind
colors: {
  custom: {
    50: '#b09e61',
    500: '#8a781e',
    950: '#000000',
  },
}
SCSS
$custom: #8a781e;
$custom-light: #b09e61;
$custom-dark: #000000;
JSON
{
  "hex": "#8a781e",
  "rgb": {
    "r": 138,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 50,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5732,
    "c": 0.10715,
    "h": 97.3
  },
  "luminance": 0.1893
}

Semantic roles & 50–950 ramp

primary
#8A781E
secondary
#4A5CBA
accent
#5CE741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8A781E

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

Preview Lab → · Contrast checker → · Palette generator →

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