#8A891E#8A891E

#8A891E is a mid, vivid yellow. Relative luminance 0.234; OKLCH L 61.2% C 0.122 H 109.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8A891E
RGBrgb(138, 137, 30)
HSLhsl(59, 64%, 33%)
HSVhsv(59, 78%, 54%)
CMYKcmyk(0%, 0.7%, 78.3%, 45.9%)
CIE-LABlab(55.47, -12.35, 53.03)
CIE-LCHlch(55.47, 54.45, 103.11°)
OKLaboklab(61.19% -0.0398 0.1158)
OKLCHoklch(61.19% 0.123 109)
XYZxyz(19.6620, 23.3890, 4.7068)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A891E #1E1F8A
analogous
#8A531E #8A891E #558A1E
triadic
#8A891E #1E8A89 #891E8A
tetradic
#8A891E #1E8A53 #1E1F8A #8A1E55
square
#8A891E #1E8A53 #1E1F8A #8A1E55
split-complementary
#8A891E #1E558A #531E8A
monochromatic
#252508 #585713 #8A891E #BCBB29 #D8D64B

Accessibility & contrast

On white

3.70
#8A891E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#8A891E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A891E
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A891E#FFFFFF#000000##000000
##8A891E1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958302
Deuteranopia (green-blind)
#968627
Tritanopia (blue-blind)
#948075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a891e;
/* rgb */ color: rgb(138, 137, 30);
/* oklch */ color: oklch(61.2% 0.122 109.0);
Tailwind
colors: {
  custom: {
    50: '#b0ab64',
    500: '#8a891e',
    950: '#000000',
  },
}
SCSS
$custom: #8a891e;
$custom-light: #b0ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#8a891e",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 30
  },
  "hsl": {
    "h": 59.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61189,
    "c": 0.1225,
    "h": 109
  },
  "luminance": 0.23388
}

Semantic roles & 50–950 ramp

primary
#8A891E
secondary
#4A4BBA
accent
#42E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A891E

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

Preview Lab → · Contrast checker → · Palette generator →

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