#8A921B#8A921B

#8A921B 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#8A921B
RGBrgb(138, 146, 27)
HSLhsl(64, 69%, 34%)
HSVhsv(64, 82%, 57%)
CMYKcmyk(5.5%, 0%, 81.5%, 42.7%)
CIE-LABlab(58.08, -17.22, 56.29)
CIE-LCHlch(58.08, 58.87, 107.01°)
OKLaboklab(63.27% -0.0536 0.1222)
OKLCHoklch(63.27% 0.133 113.7)
XYZxyz(20.9586, 26.0406, 4.9590)
Luminance0.2604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A921B #231B92
analogous
#925F1B #8A921B #4F921B
triadic
#8A921B #1B8A92 #921B8A
tetradic
#8A921B #1B925F #231B92 #921B4F
square
#8A921B #1B925F #231B92 #921B4F
split-complementary
#8A921B #1B4F92 #5F1B92
monochromatic
#282B08 #595E11 #8A921B #BBC625 #D4DE4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A921B#FFFFFF#000000##000000
##8A921B1.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)
#94897C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a921b;
/* rgb */ color: rgb(138, 146, 27);
/* oklch */ color: oklch(63.3% 0.133 113.7);
Tailwind
colors: {
  custom: {
    50: '#b0b164',
    500: '#8a921b',
    950: '#000000',
  },
}
SCSS
$custom: #8a921b;
$custom-light: #b0b164;
$custom-dark: #000000;
JSON
{
  "hex": "#8a921b",
  "rgb": {
    "r": 138,
    "g": 146,
    "b": 27
  },
  "hsl": {
    "h": 64.034,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63269,
    "c": 0.13347,
    "h": 113.7
  },
  "luminance": 0.2604
}

Semantic roles & 50–950 ramp

primary
#8A921B
secondary
#5149BF
accent
#3CEC48
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A921B

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

Preview Lab → · Contrast checker → · Palette generator →

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