#8A831E#8A831E

#8A831E is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.8% C 0.117 H 105.3°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8A831E
RGBrgb(138, 131, 30)
HSLhsl(56, 64%, 33%)
HSVhsv(56, 78%, 54%)
CMYKcmyk(0%, 5.1%, 78.3%, 45.9%)
CIE-LABlab(53.74, -9.11, 51.45)
CIE-LCHlch(53.74, 52.25, 100.04°)
OKLaboklab(59.81% -0.0308 0.1125)
OKLCHoklch(59.81% 0.117 105.3)
XYZxyz(18.8327, 21.7303, 4.4304)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A831E #1E258A
analogous
#8A4D1E #8A831E #5B8A1E
triadic
#8A831E #1E8A83 #831E8A
tetradic
#8A831E #1E8A4D #1E258A #8A1E5B
square
#8A831E #1E8A4D #1E258A #8A1E5B
split-complementary
#8A831E #1E5B8A #4D1E8A
monochromatic
#252408 #585313 #8A831E #BCB329 #D8CF4B

Accessibility & contrast

On white

3.93
#8A831E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#8A831E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A831E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A831E#FFFFFF#000000##000000
##8A831E1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#928226
Tritanopia (blue-blind)
#957A70
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8a831e;
/* rgb */ color: rgb(138, 131, 30);
/* oklch */ color: oklch(59.8% 0.117 105.3);
Tailwind
colors: {
  custom: {
    50: '#b0a663',
    500: '#8a831e',
    950: '#000000',
  },
}
SCSS
$custom: #8a831e;
$custom-light: #b0a663;
$custom-dark: #000000;
JSON
{
  "hex": "#8a831e",
  "rgb": {
    "r": 138,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 56.111,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59809,
    "c": 0.1166,
    "h": 105.3
  },
  "luminance": 0.2173
}

Semantic roles & 50–950 ramp

primary
#8A831E
secondary
#4A51BA
accent
#4BE741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8A831E

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

Preview Lab → · Contrast checker → · Palette generator →

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