#8A841E#8A841E

#8A841E is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.0% C 0.118 H 105.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8A841E
RGBrgb(138, 132, 30)
HSLhsl(57, 64%, 33%)
HSVhsv(57, 78%, 54%)
CMYKcmyk(0%, 4.3%, 78.3%, 45.9%)
CIE-LABlab(54.03, -9.65, 51.71)
CIE-LCHlch(54.03, 52.61, 100.57°)
OKLaboklab(60.04% -0.0323 0.113)
OKLCHoklch(60.04% 0.118 105.9)
XYZxyz(18.9676, 22.0003, 4.4754)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A841E #1E248A
analogous
#8A4E1E #8A841E #5A8A1E
triadic
#8A841E #1E8A84 #841E8A
tetradic
#8A841E #1E8A4E #1E248A #8A1E5A
square
#8A841E #1E8A4E #1E248A #8A1E5A
split-complementary
#8A841E #1E5A8A #4E1E8A
monochromatic
#252408 #585413 #8A841E #BCB429 #D8D04B

Accessibility & contrast

On white

3.89
#8A841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#8A841E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A841E
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A841E#FFFFFF#000000##000000
##8A841E1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#928326
Tritanopia (blue-blind)
#957B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a841e;
/* rgb */ color: rgb(138, 132, 30);
/* oklch */ color: oklch(60.0% 0.118 105.9);
Tailwind
colors: {
  custom: {
    50: '#b0a763',
    500: '#8a841e',
    950: '#000000',
  },
}
SCSS
$custom: #8a841e;
$custom-light: #b0a763;
$custom-dark: #000000;
JSON
{
  "hex": "#8a841e",
  "rgb": {
    "r": 138,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 56.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60038,
    "c": 0.11755,
    "h": 105.9
  },
  "luminance": 0.22
}

Semantic roles & 50–950 ramp

primary
#8A841E
secondary
#4A50BA
accent
#4AE741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A841E

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

Preview Lab → · Contrast checker → · Palette generator →

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