#8D9927#8D9927

#8D9927 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.2% C 0.134 H 115.5°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8D9927
RGBrgb(141, 153, 39)
HSLhsl(66, 59%, 38%)
HSVhsv(66, 75%, 60%)
CMYKcmyk(7.8%, 0%, 74.5%, 40%)
CIE-LABlab(60.42, -18.98, 54.65)
CIE-LCHlch(60.42, 57.85, 109.16°)
OKLaboklab(65.23% -0.0576 0.1208)
OKLCHoklch(65.23% 0.134 115.5)
XYZxyz(22.7426, 28.5920, 6.2398)
Luminance0.2859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9927 #332799
analogous
#996C27 #8D9927 #549927
triadic
#8D9927 #278D99 #99278D
tetradic
#8D9927 #27996C #332799 #992754
square
#8D9927 #27996C #332799 #992754
split-complementary
#8D9927 #275499 #6C2799
monochromatic
#33370E #60681B #8D9927 #BACA33 #CBD763

Accessibility & contrast

On white

3.13
#8D9927 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#8D9927 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9927
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9927#FFFFFF#000000##000000
##8D99271.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49110
Deuteranopia (green-blind)
#A39331
Tritanopia (blue-blind)
#969083
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d9927;
/* rgb */ color: rgb(141, 153, 39);
/* oklch */ color: oklch(65.2% 0.134 115.5);
Tailwind
colors: {
  custom: {
    50: '#b2b66a',
    500: '#8d9927',
    950: '#000000',
  },
}
SCSS
$custom: #8d9927;
$custom-light: #b2b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9927",
  "rgb": {
    "r": 141,
    "g": 153,
    "b": 39
  },
  "hsl": {
    "h": 66.316,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65229,
    "c": 0.13387,
    "h": 115.5
  },
  "luminance": 0.28592
}

Semantic roles & 50–950 ramp

primary
#8D9927
secondary
#695FBD
accent
#45E356
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9927

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

Preview Lab → · Contrast checker → · Palette generator →

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