#8D921F#8D921F

#8D921F is a light, vivid yellow. Relative luminance 0.263; OKLCH L 63.5% C 0.131 H 112.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#8D921F
RGBrgb(141, 146, 31)
HSLhsl(63, 65%, 35%)
HSVhsv(63, 79%, 57%)
CMYKcmyk(3.4%, 0%, 78.8%, 42.7%)
CIE-LABlab(58.34, -15.72, 55.41)
CIE-LCHlch(58.34, 57.60, 105.84°)
OKLaboklab(63.55% -0.0493 0.121)
OKLCHoklch(63.55% 0.131 112.2)
XYZxyz(21.5114, 26.3200, 5.2431)
Luminance0.2632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D921F #241F92
analogous
#925E1F #8D921F #53921F
triadic
#8D921F #1F8D92 #921F8D
tetradic
#8D921F #1F925E #241F92 #921F53
square
#8D921F #1F925E #241F92 #921F53
split-complementary
#8D921F #1F5392 #5E1F92
monochromatic
#2B2D0A #5C6014 #8D921F #BEC42A #D4DA51

Accessibility & contrast

On white

3.35
#8D921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#8D921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D921F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D921F#FFFFFF#000000##000000
##8D921F1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9E8E29
Tritanopia (blue-blind)
#97897D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d921f;
/* rgb */ color: rgb(141, 146, 31);
/* oklch */ color: oklch(63.5% 0.131 112.2);
Tailwind
colors: {
  custom: {
    50: '#b2b165',
    500: '#8d921f',
    950: '#000000',
  },
}
SCSS
$custom: #8d921f;
$custom-light: #b2b165;
$custom-dark: #000000;
JSON
{
  "hex": "#8d921f",
  "rgb": {
    "r": 141,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 62.609,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63547,
    "c": 0.13063,
    "h": 112.2
  },
  "luminance": 0.26319
}

Semantic roles & 50–950 ramp

primary
#8D921F
secondary
#5450BD
accent
#40E847
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D921F

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

Preview Lab → · Contrast checker → · Palette generator →

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