#8D9A1E#8D9A1E

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

Color values

HEX#8D9A1E
RGBrgb(141, 154, 30)
HSLhsl(66, 67%, 36%)
HSVhsv(66, 81%, 60%)
CMYKcmyk(8.4%, 0%, 80.5%, 39.6%)
CIE-LABlab(60.66, -19.89, 57.80)
CIE-LCHlch(60.66, 61.13, 108.99°)
OKLaboklab(65.41% -0.0609 0.1259)
OKLCHoklch(65.41% 0.14 115.8)
XYZxyz(22.7751, 28.8680, 5.6004)
Luminance0.2887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9A1E #2B1E9A
analogous
#9A691E #8D9A1E #4F9A1E
triadic
#8D9A1E #1E8D9A #9A1E8D
tetradic
#8D9A1E #1E9A69 #2B1E9A #9A1E4F
square
#8D9A1E #1E9A69 #2B1E9A #9A1E4F
split-complementary
#8D9A1E #1E4F9A #691E9A
monochromatic
#2F340A #5E6714 #8D9A1E #BCCD28 #CFDE55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9A1E#FFFFFF#000000##000000
##8D9A1E1.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)
#A4932A
Tritanopia (blue-blind)
#979183
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d9a1e;
/* rgb */ color: rgb(141, 154, 30);
/* oklch */ color: oklch(65.4% 0.140 115.8);
Tailwind
colors: {
  custom: {
    50: '#b2b766',
    500: '#8d9a1e',
    950: '#000000',
  },
}
SCSS
$custom: #8d9a1e;
$custom-light: #b2b766;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9a1e",
  "rgb": {
    "r": 141,
    "g": 154,
    "b": 30
  },
  "hsl": {
    "h": 66.29,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65411,
    "c": 0.13985,
    "h": 115.8
  },
  "luminance": 0.28868
}

Semantic roles & 50–950 ramp

primary
#8D9A1E
secondary
#5E53C1
accent
#3EEA50
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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