#8A9219#8A9219

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

Color values

HEX#8A9219
RGBrgb(138, 146, 25)
HSLhsl(64, 71%, 34%)
HSVhsv(64, 83%, 57%)
CMYKcmyk(5.5%, 0%, 82.9%, 42.7%)
CIE-LABlab(58.07, -17.29, 56.85)
CIE-LCHlch(58.07, 59.42, 106.92°)
OKLaboklab(63.26% -0.0539 0.1231)
OKLCHoklch(63.26% 0.134 113.7)
XYZxyz(20.9363, 26.0317, 4.8413)
Luminance0.2603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9219 #211992
analogous
#925D19 #8A9219 #4D9219
triadic
#8A9219 #198A92 #92198A
tetradic
#8A9219 #19925D #211992 #92194D
square
#8A9219 #19925D #211992 #92194D
split-complementary
#8A9219 #194D92 #5D1992
monochromatic
#272907 #595E10 #8A9219 #BBC622 #D5DF46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9219#FFFFFF#000000##000000
##8A92191.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)
#9D8A00
Deuteranopia (green-blind)
#9D8D25
Tritanopia (blue-blind)
#94897C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a9219;
/* rgb */ color: rgb(138, 146, 25);
/* oklch */ color: oklch(63.3% 0.134 113.7);
Tailwind
colors: {
  custom: {
    50: '#b0b163',
    500: '#8a9219',
    950: '#000000',
  },
}
SCSS
$custom: #8a9219;
$custom-light: #b0b163;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9219",
  "rgb": {
    "r": 138,
    "g": 146,
    "b": 25
  },
  "hsl": {
    "h": 63.967,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.6326,
    "c": 0.13436,
    "h": 113.7
  },
  "luminance": 0.26031
}

Semantic roles & 50–950 ramp

primary
#8A9219
secondary
#4E46C1
accent
#3AEE46
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A9219

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

Preview Lab → · Contrast checker → · Palette generator →

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