#8A911D#8A911D

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

Color values

HEX#8A911D
RGBrgb(138, 145, 29)
HSLhsl(64, 67%, 34%)
HSVhsv(64, 80%, 57%)
CMYKcmyk(4.8%, 0%, 80%, 43.1%)
CIE-LABlab(57.79, -16.62, 55.45)
CIE-LCHlch(57.79, 57.88, 106.69°)
OKLaboklab(63.04% -0.0518 0.1208)
OKLCHoklch(63.04% 0.131 113.2)
XYZxyz(20.8291, 25.7432, 5.0339)
Luminance0.2574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A911D #241D91
analogous
#915E1D #8A911D #50911D
triadic
#8A911D #1D8A91 #911D8A
tetradic
#8A911D #1D915E #241D91 #911D50
square
#8A911D #1D915E #241D91 #911D50
split-complementary
#8A911D #1D5091 #5E1D91
monochromatic
#292B09 #595E13 #8A911D #BBC427 #D3DB4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A911D#FFFFFF#000000##000000
##8A911D1.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)
#9C8C28
Tritanopia (blue-blind)
#94887C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8a911d;
/* rgb */ color: rgb(138, 145, 29);
/* oklch */ color: oklch(63.0% 0.131 113.2);
Tailwind
colors: {
  custom: {
    50: '#b0b164',
    500: '#8a911d',
    950: '#000000',
  },
}
SCSS
$custom: #8a911d;
$custom-light: #b0b164;
$custom-dark: #000000;
JSON
{
  "hex": "#8a911d",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 29
  },
  "hsl": {
    "h": 63.621,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.63045,
    "c": 0.13143,
    "h": 113.2
  },
  "luminance": 0.25743
}

Semantic roles & 50–950 ramp

primary
#8A911D
secondary
#534CBE
accent
#3EEA49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A911D

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

Preview Lab → · Contrast checker → · Palette generator →

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