#8A811E#8A811E

#8A811E is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.4% C 0.115 H 104.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8A811E
RGBrgb(138, 129, 30)
HSLhsl(55, 64%, 33%)
HSVhsv(55, 78%, 54%)
CMYKcmyk(0%, 6.5%, 78.3%, 45.9%)
CIE-LABlab(53.17, -8.01, 50.92)
CIE-LCHlch(53.17, 51.55, 98.94°)
OKLaboklab(59.35% -0.0277 0.1113)
OKLCHoklch(59.35% 0.115 104)
XYZxyz(18.5667, 21.1983, 4.3417)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A811E #1E278A
analogous
#8A4B1E #8A811E #5D8A1E
triadic
#8A811E #1E8A81 #811E8A
tetradic
#8A811E #1E8A4B #1E278A #8A1E5D
square
#8A811E #1E8A4B #1E278A #8A1E5D
split-complementary
#8A811E #1E5D8A #4B1E8A
monochromatic
#252308 #585213 #8A811E #BCB029 #D8CC4B

Accessibility & contrast

On white

4.01
#8A811E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8A811E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A811E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A811E#FFFFFF#000000##000000
##8A811E1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C07
Deuteranopia (green-blind)
#908126
Tritanopia (blue-blind)
#95786E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8a811e;
/* rgb */ color: rgb(138, 129, 30);
/* oklch */ color: oklch(59.4% 0.115 104.0);
Tailwind
colors: {
  custom: {
    50: '#b0a563',
    500: '#8a811e',
    950: '#000000',
  },
}
SCSS
$custom: #8a811e;
$custom-light: #b0a563;
$custom-dark: #000000;
JSON
{
  "hex": "#8a811e",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 55,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59352,
    "c": 0.11473,
    "h": 104
  },
  "luminance": 0.21198
}

Semantic roles & 50–950 ramp

primary
#8A811E
secondary
#4A53BA
accent
#4EE741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A811E

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

Preview Lab → · Contrast checker → · Palette generator →

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