#8D921B#8D921B

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

Color values

HEX#8D921B
RGBrgb(141, 146, 27)
HSLhsl(63, 69%, 34%)
HSVhsv(63, 82%, 57%)
CMYKcmyk(3.4%, 0%, 81.5%, 42.7%)
CIE-LABlab(58.32, -15.88, 56.60)
CIE-LCHlch(58.32, 58.79, 105.67°)
OKLaboklab(63.53% -0.05 0.1228)
OKLCHoklch(63.53% 0.133 112.2)
XYZxyz(21.4620, 26.3002, 4.9826)
Luminance0.2630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D921B #201B92
analogous
#925C1B #8D921B #52921B
triadic
#8D921B #1B8D92 #921B8D
tetradic
#8D921B #1B925C #201B92 #921B52
square
#8D921B #1B925C #201B92 #921B52
split-complementary
#8D921B #1B5292 #5C1B92
monochromatic
#292B08 #5B5E11 #8D921B #BFC625 #D7DE4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D921B#FFFFFF#000000##000000
##8D921B1.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)
#9E8E26
Tritanopia (blue-blind)
#97897D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d921b;
/* rgb */ color: rgb(141, 146, 27);
/* oklch */ color: oklch(63.5% 0.133 112.2);
Tailwind
colors: {
  custom: {
    50: '#b2b164',
    500: '#8d921b',
    950: '#000000',
  },
}
SCSS
$custom: #8d921b;
$custom-light: #b2b164;
$custom-dark: #000000;
JSON
{
  "hex": "#8d921b",
  "rgb": {
    "r": 141,
    "g": 146,
    "b": 27
  },
  "hsl": {
    "h": 62.521,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63526,
    "c": 0.13258,
    "h": 112.2
  },
  "luminance": 0.263
}

Semantic roles & 50–950 ramp

primary
#8D921B
secondary
#4E49BF
accent
#3CEC44
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D921B

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

Preview Lab → · Contrast checker → · Palette generator →

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