#8A9011#8A9011

#8A9011 is a light, vivid yellow. Relative luminance 0.254; OKLCH L 62.8% C 0.135 H 112.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8A9011
RGBrgb(138, 144, 17)
HSLhsl(63, 79%, 32%)
HSVhsv(63, 88%, 56%)
CMYKcmyk(4.2%, 0%, 88.2%, 43.5%)
CIE-LABlab(57.45, -16.49, 58.28)
CIE-LCHlch(57.45, 60.57, 105.79°)
OKLaboklab(62.76% -0.0522 0.1248)
OKLCHoklch(62.76% 0.135 112.7)
XYZxyz(20.5564, 25.3908, 4.3483)
Luminance0.2539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9011 #171190
analogous
#905711 #8A9011 #4B9011
triadic
#8A9011 #118A90 #90118A
tetradic
#8A9011 #119057 #171190 #90114B
square
#8A9011 #119057 #171190 #90114B
split-complementary
#8A9011 #114B90 #571190
monochromatic
#212304 #56590B #8A9011 #BEC717 #DFE734

Accessibility & contrast

On white

3.46
#8A9011 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#8A9011 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9011
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9011#FFFFFF#000000##000000
##8A90111.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9C8B20
Tritanopia (blue-blind)
#94877A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a9011;
/* rgb */ color: rgb(138, 144, 17);
/* oklch */ color: oklch(62.8% 0.135 112.7);
Tailwind
colors: {
  custom: {
    50: '#b0b060',
    500: '#8a9011',
    950: '#000000',
  },
}
SCSS
$custom: #8a9011;
$custom-light: #b0b060;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9011",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 17
  },
  "hsl": {
    "h": 62.835,
    "s": 78.882,
    "l": 31.569
  },
  "oklch": {
    "l": 0.62759,
    "c": 0.13528,
    "h": 112.7
  },
  "luminance": 0.2539
}

Semantic roles & 50–950 ramp

primary
#8A9011
secondary
#3F39C4
accent
#32F53C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8A9011

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

Preview Lab → · Contrast checker → · Palette generator →

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