#8D9F1A#8D9F1A

#8D9F1A is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.6% C 0.147 H 117.7°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8D9F1A
RGBrgb(141, 159, 26)
HSLhsl(68, 72%, 36%)
HSVhsv(68, 84%, 62%)
CMYKcmyk(11.3%, 0%, 83.6%, 37.6%)
CIE-LABlab(62.11, -22.56, 60.17)
CIE-LCHlch(62.11, 64.26, 110.55°)
OKLaboklab(66.57% -0.0685 0.1303)
OKLCHoklch(66.57% 0.147 117.7)
XYZxyz(23.5697, 30.5338, 5.6291)
Luminance0.3053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9F1A #2C1A9F
analogous
#9F6F1A #8D9F1A #4B9F1A
triadic
#8D9F1A #1A8D9F #9F1A8D
tetradic
#8D9F1A #1A9F6F #2C1A9F #9F1A4B
square
#8D9F1A #1A9F6F #2C1A9F #9F1A4B
split-complementary
#8D9F1A #1A4B9F #6F1A9F
monochromatic
#303609 #5E6A11 #8D9F1A #BCD423 #CFE351

Accessibility & contrast

On white

2.95
#8D9F1A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#8D9F1A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D9F1A
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9F1A#FFFFFF#000000##000000
##8D9F1A1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A89729
Tritanopia (blue-blind)
#969687
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8d9f1a;
/* rgb */ color: rgb(141, 159, 26);
/* oklch */ color: oklch(66.6% 0.147 117.7);
Tailwind
colors: {
  custom: {
    50: '#b2bb65',
    500: '#8d9f1a',
    950: '#000000',
  },
}
SCSS
$custom: #8d9f1a;
$custom-light: #b2bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9f1a",
  "rgb": {
    "r": 141,
    "g": 159,
    "b": 26
  },
  "hsl": {
    "h": 68.12,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66569,
    "c": 0.14718,
    "h": 117.7
  },
  "luminance": 0.30534
}

Semantic roles & 50–950 ramp

primary
#8D9F1A
secondary
#6050C5
accent
#39EF52
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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