#8C811A#8C811A

#8C811A is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.5% C 0.117 H 102.9°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8C811A
RGBrgb(140, 129, 26)
HSLhsl(54, 69%, 33%)
HSVhsv(54, 81%, 55%)
CMYKcmyk(0%, 7.9%, 81.4%, 45.1%)
CIE-LABlab(53.33, -7.25, 52.47)
CIE-LCHlch(53.33, 52.97, 97.86°)
OKLaboklab(59.52% -0.026 0.1138)
OKLCHoklch(59.52% 0.117 102.9)
XYZxyz(18.8528, 21.3514, 4.1053)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C811A #1A258C
analogous
#8C481A #8C811A #5E8C1A
triadic
#8C811A #1A8C81 #811A8C
tetradic
#8C811A #1A8C48 #1A258C #8C1A5E
square
#8C811A #1A8C48 #1A258C #8C1A5E
split-complementary
#8C811A #1A5E8C #481A8C
monochromatic
#252207 #585110 #8C811A #C0B124 #DCCE44

Accessibility & contrast

On white

3.98
#8C811A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#8C811A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C811A
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C811A#FFFFFF#000000##000000
##8C811A1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#918222
Tritanopia (blue-blind)
#97776E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8c811a;
/* rgb */ color: rgb(140, 129, 26);
/* oklch */ color: oklch(59.5% 0.117 102.9);
Tailwind
colors: {
  custom: {
    50: '#b1a561',
    500: '#8c811a',
    950: '#000000',
  },
}
SCSS
$custom: #8c811a;
$custom-light: #b1a561;
$custom-dark: #000000;
JSON
{
  "hex": "#8c811a",
  "rgb": {
    "r": 140,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 54.211,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59522,
    "c": 0.1167,
    "h": 102.9
  },
  "luminance": 0.21351
}

Semantic roles & 50–950 ramp

primary
#8C811A
secondary
#4450BE
accent
#4DEC3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8C811A

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

Preview Lab → · Contrast checker → · Palette generator →

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