#8A911C#8A911C

#8A911C is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.0% C 0.132 H 113.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8A911C
RGBrgb(138, 145, 28)
HSLhsl(64, 68%, 34%)
HSVhsv(64, 81%, 57%)
CMYKcmyk(4.8%, 0%, 80.7%, 43.1%)
CIE-LABlab(57.79, -16.66, 55.75)
CIE-LCHlch(57.79, 58.18, 106.64°)
OKLaboklab(63.04% -0.052 0.1213)
OKLCHoklch(63.04% 0.132 113.2)
XYZxyz(20.8169, 25.7384, 4.9698)
Luminance0.2574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A911C #231C91
analogous
#915E1C #8A911C #50911C
triadic
#8A911C #1C8A91 #911C8A
tetradic
#8A911C #1C915E #231C91 #911C50
square
#8A911C #1C915E #231C91 #911C50
split-complementary
#8A911C #1C5091 #5E1C91
monochromatic
#282A08 #595E12 #8A911C #BBC426 #D4DC4B

Accessibility & contrast

On white

3.42
#8A911C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#8A911C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A911C
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A911C#FFFFFF#000000##000000
##8A911C1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#9C8C27
Tritanopia (blue-blind)
#94887C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a911c;
/* rgb */ color: rgb(138, 145, 28);
/* oklch */ color: oklch(63.0% 0.132 113.2);
Tailwind
colors: {
  custom: {
    50: '#b0b164',
    500: '#8a911c',
    950: '#000000',
  },
}
SCSS
$custom: #8a911c;
$custom-light: #b0b164;
$custom-dark: #000000;
JSON
{
  "hex": "#8a911c",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 28
  },
  "hsl": {
    "h": 63.59,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.6304,
    "c": 0.13191,
    "h": 113.2
  },
  "luminance": 0.25738
}

Semantic roles & 50–950 ramp

primary
#8A911C
secondary
#514ABE
accent
#3DEB48
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A911C

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

Preview Lab → · Contrast checker → · Palette generator →

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