#8A921D#8A921D

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

Color values

HEX#8A921D
RGBrgb(138, 146, 29)
HSLhsl(64, 67%, 34%)
HSVhsv(64, 80%, 57%)
CMYKcmyk(5.5%, 0%, 80.1%, 42.7%)
CIE-LABlab(58.08, -17.14, 55.71)
CIE-LCHlch(58.08, 58.29, 107.10°)
OKLaboklab(63.28% -0.0532 0.1214)
OKLCHoklch(63.28% 0.133 113.7)
XYZxyz(20.9826, 26.0502, 5.0850)
Luminance0.2605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A921D #251D92
analogous
#92601D #8A921D #4F921D
triadic
#8A921D #1D8A92 #921D8A
tetradic
#8A921D #1D9260 #251D92 #921D4F
square
#8A921D #1D9260 #251D92 #921D4F
split-complementary
#8A921D #1D4F92 #601D92
monochromatic
#292C09 #5A5F13 #8A921D #BAC527 #D2DC4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A921D#FFFFFF#000000##000000
##8A921D1.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)
#9D8B00
Deuteranopia (green-blind)
#9D8D28
Tritanopia (blue-blind)
#94897D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a921d;
/* rgb */ color: rgb(138, 146, 29);
/* oklch */ color: oklch(63.3% 0.133 113.7);
Tailwind
colors: {
  custom: {
    50: '#b0b164',
    500: '#8a921d',
    950: '#000000',
  },
}
SCSS
$custom: #8a921d;
$custom-light: #b0b164;
$custom-dark: #000000;
JSON
{
  "hex": "#8a921d",
  "rgb": {
    "r": 138,
    "g": 146,
    "b": 29
  },
  "hsl": {
    "h": 64.103,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.63279,
    "c": 0.13252,
    "h": 113.7
  },
  "luminance": 0.2605
}

Semantic roles & 50–950 ramp

primary
#8A921D
secondary
#544CBE
accent
#3EEA4A
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A921D

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

Preview Lab → · Contrast checker → · Palette generator →

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