#8D9D1A#8D9D1A

#8D9D1A is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.1% C 0.145 H 117.0°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8D9D1A
RGBrgb(141, 157, 26)
HSLhsl(67, 72%, 36%)
HSVhsv(67, 83%, 62%)
CMYKcmyk(10.2%, 0%, 83.4%, 38.4%)
CIE-LABlab(61.53, -21.56, 59.67)
CIE-LCHlch(61.53, 63.44, 109.86°)
OKLaboklab(66.1% -0.0657 0.1292)
OKLCHoklch(66.1% 0.145 117)
XYZxyz(23.2286, 29.8515, 5.5153)
Luminance0.2985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9D1A #2A1A9D
analogous
#9D6B1A #8D9D1A #4B9D1A
triadic
#8D9D1A #1A8D9D #9D1A8D
tetradic
#8D9D1A #1A9D6B #2A1A9D #9D1A4B
square
#8D9D1A #1A9D6B #2A1A9D #9D1A4B
split-complementary
#8D9D1A #1A4B9D #6B1A9D
monochromatic
#2F3409 #5E6811 #8D9D1A #BCD223 #D0E24F

Accessibility & contrast

On white

3.01
#8D9D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#8D9D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9D1A
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9D1A#FFFFFF#000000##000000
##8D9D1A1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A79528
Tritanopia (blue-blind)
#969486
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9d1a;
/* rgb */ color: rgb(141, 157, 26);
/* oklch */ color: oklch(66.1% 0.145 117.0);
Tailwind
colors: {
  custom: {
    50: '#b2b965',
    500: '#8d9d1a',
    950: '#000000',
  },
}
SCSS
$custom: #8d9d1a;
$custom-light: #b2b965;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9d1a",
  "rgb": {
    "r": 141,
    "g": 157,
    "b": 26
  },
  "hsl": {
    "h": 67.328,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.66097,
    "c": 0.14495,
    "h": 117
  },
  "luminance": 0.29851
}

Semantic roles & 50–950 ramp

primary
#8D9D1A
secondary
#5D4EC4
accent
#39EE50
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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