#8D9A1A#8D9A1A

#8D9A1A is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.4% C 0.142 H 115.8°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8D9A1A
RGBrgb(141, 154, 26)
HSLhsl(66, 71%, 35%)
HSVhsv(66, 83%, 60%)
CMYKcmyk(8.4%, 0%, 83.1%, 39.6%)
CIE-LABlab(60.65, -20.04, 58.91)
CIE-LCHlch(60.65, 62.22, 108.79°)
OKLaboklab(65.39% -0.0616 0.1276)
OKLCHoklch(65.39% 0.142 115.8)
XYZxyz(22.7272, 28.8489, 5.3482)
Luminance0.2885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9A1A #271A9A
analogous
#9A671A #8D9A1A #4D9A1A
triadic
#8D9A1A #1A8D9A #9A1A8D
tetradic
#8D9A1A #1A9A67 #271A9A #9A1A4D
square
#8D9A1A #1A9A67 #271A9A #9A1A4D
split-complementary
#8D9A1A #1A4D9A #671A9A
monochromatic
#2D3108 #5D6611 #8D9A1A #BDCE23 #D2E14D

Accessibility & contrast

On white

3.10
#8D9A1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#8D9A1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9A1A
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9A1A#FFFFFF#000000##000000
##8D9A1A1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59200
Deuteranopia (green-blind)
#A49327
Tritanopia (blue-blind)
#979183
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d9a1a;
/* rgb */ color: rgb(141, 154, 26);
/* oklch */ color: oklch(65.4% 0.142 115.8);
Tailwind
colors: {
  custom: {
    50: '#b2b764',
    500: '#8d9a1a',
    950: '#000000',
  },
}
SCSS
$custom: #8d9a1a;
$custom-light: #b2b764;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9a1a",
  "rgb": {
    "r": 141,
    "g": 154,
    "b": 26
  },
  "hsl": {
    "h": 66.094,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.65392,
    "c": 0.14164,
    "h": 115.8
  },
  "luminance": 0.28849
}

Semantic roles & 50–950 ramp

primary
#8D9A1A
secondary
#594DC3
accent
#3AEE4C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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