#8A9220#8A9220

#8A9220 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.3% C 0.131 H 113.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8A9220
RGBrgb(138, 146, 32)
HSLhsl(64, 64%, 35%)
HSVhsv(64, 78%, 57%)
CMYKcmyk(5.5%, 0%, 78.1%, 42.7%)
CIE-LABlab(58.10, -17.02, 54.78)
CIE-LCHlch(58.10, 57.36, 107.26°)
OKLaboklab(63.3% -0.0526 0.1199)
OKLCHoklch(63.3% 0.131 113.7)
XYZxyz(21.0215, 26.0658, 5.2900)
Luminance0.2606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9220 #282092
analogous
#926120 #8A9220 #519220
triadic
#8A9220 #208A92 #92208A
tetradic
#8A9220 #209261 #282092 #922051
square
#8A9220 #209261 #282092 #922051
split-complementary
#8A9220 #205192 #612092
monochromatic
#2B2E0A #5B6015 #8A9220 #B9C42B #D0D953

Accessibility & contrast

On white

3.38
#8A9220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#8A9220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9220
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9220#FFFFFF#000000##000000
##8A92201.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B01
Deuteranopia (green-blind)
#9D8D2A
Tritanopia (blue-blind)
#94897D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a9220;
/* rgb */ color: rgb(138, 146, 32);
/* oklch */ color: oklch(63.3% 0.131 113.7);
Tailwind
colors: {
  custom: {
    50: '#b0b166',
    500: '#8a9220',
    950: '#000000',
  },
}
SCSS
$custom: #8a9220;
$custom-light: #b0b166;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9220",
  "rgb": {
    "r": 138,
    "g": 146,
    "b": 32
  },
  "hsl": {
    "h": 64.211,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63296,
    "c": 0.13098,
    "h": 113.7
  },
  "luminance": 0.26065
}

Semantic roles & 50–950 ramp

primary
#8A9220
secondary
#5951BD
accent
#41E74C
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A9220

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

Preview Lab → · Contrast checker → · Palette generator →

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