#8A921C#8A921C

#8A921C is a light, vivid yellow. Relative luminance 0.260; 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#8A921C
RGBrgb(138, 146, 28)
HSLhsl(64, 68%, 34%)
HSVhsv(64, 81%, 57%)
CMYKcmyk(5.5%, 0%, 80.8%, 42.7%)
CIE-LABlab(58.08, -17.18, 56.00)
CIE-LCHlch(58.08, 58.58, 107.06°)
OKLaboklab(63.27% -0.0534 0.1218)
OKLCHoklch(63.27% 0.133 113.7)
XYZxyz(20.9704, 26.0453, 5.0210)
Luminance0.2605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A921C #241C92
analogous
#925F1C #8A921C #4F921C
triadic
#8A921C #1C8A92 #921C8A
tetradic
#8A921C #1C925F #241C92 #921C4F
square
#8A921C #1C925F #241C92 #921C4F
split-complementary
#8A921C #1C4F92 #5F1C92
monochromatic
#292B08 #595F12 #8A921C #BBC526 #D3DD4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A921C#FFFFFF#000000##000000
##8A921C1.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)
#9D8D27
Tritanopia (blue-blind)
#94897D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a921c;
/* rgb */ color: rgb(138, 146, 28);
/* oklch */ color: oklch(63.3% 0.133 113.7);
Tailwind
colors: {
  custom: {
    50: '#b0b164',
    500: '#8a921c',
    950: '#000000',
  },
}
SCSS
$custom: #8a921c;
$custom-light: #b0b164;
$custom-dark: #000000;
JSON
{
  "hex": "#8a921c",
  "rgb": {
    "r": 138,
    "g": 146,
    "b": 28
  },
  "hsl": {
    "h": 64.068,
    "s": 67.816,
    "l": 34.118
  },
  "oklch": {
    "l": 0.63274,
    "c": 0.133,
    "h": 113.7
  },
  "luminance": 0.26045
}

Semantic roles & 50–950 ramp

primary
#8A921C
secondary
#534BBF
accent
#3DEB49
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A921C

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

Preview Lab → · Contrast checker → · Palette generator →

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