#8A851C#8A851C

#8A851C is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.3% C 0.120 H 106.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#8A851C
RGBrgb(138, 133, 28)
HSLhsl(57, 66%, 33%)
HSVhsv(57, 80%, 54%)
CMYKcmyk(0%, 3.6%, 79.7%, 45.9%)
CIE-LABlab(54.30, -10.28, 52.63)
CIE-LCHlch(54.30, 53.63, 101.05°)
OKLaboklab(60.26% -0.0342 0.1146)
OKLCHoklch(60.26% 0.12 106.6)
XYZxyz(19.0792, 22.2629, 4.3905)
Luminance0.2226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A851C #1C218A
analogous
#8A4E1C #8A851C #588A1C
triadic
#8A851C #1C8A85 #851C8A
tetradic
#8A851C #1C8A4E #1C218A #8A1C58
square
#8A851C #1C8A4E #1C218A #8A1C58
split-complementary
#8A851C #1C588A #4E1C8A
monochromatic
#242307 #575412 #8A851C #BDB626 #DAD347

Accessibility & contrast

On white

3.85
#8A851C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#8A851C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A851C
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A851C#FFFFFF#000000##000000
##8A851C1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#938425
Tritanopia (blue-blind)
#957C72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8a851c;
/* rgb */ color: rgb(138, 133, 28);
/* oklch */ color: oklch(60.3% 0.120 106.6);
Tailwind
colors: {
  custom: {
    50: '#b0a862',
    500: '#8a851c',
    950: '#000000',
  },
}
SCSS
$custom: #8a851c;
$custom-light: #b0a862;
$custom-dark: #000000;
JSON
{
  "hex": "#8a851c",
  "rgb": {
    "r": 138,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 57.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.11959,
    "h": 106.6
  },
  "luminance": 0.22262
}

Semantic roles & 50–950 ramp

primary
#8A851C
secondary
#464CBB
accent
#46E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A851C

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

Preview Lab → · Contrast checker → · Palette generator →

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