#8A841D#8A841D

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

Color values

HEX#8A841D
RGBrgb(138, 132, 29)
HSLhsl(57, 65%, 33%)
HSVhsv(57, 79%, 54%)
CMYKcmyk(0%, 4.3%, 79%, 45.9%)
CIE-LABlab(54.02, -9.70, 52.05)
CIE-LCHlch(54.02, 52.94, 100.55°)
OKLaboklab(60.03% -0.0325 0.1135)
OKLCHoklch(60.03% 0.118 106)
XYZxyz(18.9551, 21.9952, 4.4092)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A841D #1D238A
analogous
#8A4D1D #8A841D #5A8A1D
triadic
#8A841D #1D8A84 #841D8A
tetradic
#8A841D #1D8A4D #1D238A #8A1D5A
square
#8A841D #1D8A4D #1D238A #8A1D5A
split-complementary
#8A841D #1D5A8A #4D1D8A
monochromatic
#252308 #575412 #8A841D #BDB428 #D9D149

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A841D#FFFFFF#000000##000000
##8A841D1.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)
#907F03
Deuteranopia (green-blind)
#928325
Tritanopia (blue-blind)
#957B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8a841d;
/* rgb */ color: rgb(138, 132, 29);
/* oklch */ color: oklch(60.0% 0.118 106.0);
Tailwind
colors: {
  custom: {
    50: '#b0a763',
    500: '#8a841d',
    950: '#000000',
  },
}
SCSS
$custom: #8a841d;
$custom-light: #b0a763;
$custom-dark: #000000;
JSON
{
  "hex": "#8a841d",
  "rgb": {
    "r": 138,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 56.697,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60032,
    "c": 0.1181,
    "h": 106
  },
  "luminance": 0.21995
}

Semantic roles & 50–950 ramp

primary
#8A841D
secondary
#484EBB
accent
#49E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A841D

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

Preview Lab → · Contrast checker → · Palette generator →

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