#8D9E1A#8D9E1A

#8D9E1A is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.3% C 0.146 H 117.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8D9E1A
RGBrgb(141, 158, 26)
HSLhsl(68, 72%, 36%)
HSVhsv(68, 84%, 62%)
CMYKcmyk(10.8%, 0%, 83.5%, 38%)
CIE-LABlab(61.82, -22.06, 59.92)
CIE-LCHlch(61.82, 63.85, 110.21°)
OKLaboklab(66.33% -0.0671 0.1297)
OKLCHoklch(66.33% 0.146 117.4)
XYZxyz(23.3984, 30.1913, 5.5720)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9E1A #2B1A9E
analogous
#9E6D1A #8D9E1A #4B9E1A
triadic
#8D9E1A #1A8D9E #9E1A8D
tetradic
#8D9E1A #1A9E6D #2B1A9E #9E1A4B
square
#8D9E1A #1A9E6D #2B1A9E #9E1A4B
split-complementary
#8D9E1A #1A4B9E #6D1A9E
monochromatic
#2F3509 #5E6911 #8D9E1A #BCD323 #CFE250

Accessibility & contrast

On white

2.98
#8D9E1A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#8D9E1A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D9E1A
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9E1A#FFFFFF#000000##000000
##8D9E1A1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A89628
Tritanopia (blue-blind)
#969587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d9e1a;
/* rgb */ color: rgb(141, 158, 26);
/* oklch */ color: oklch(66.3% 0.146 117.4);
Tailwind
colors: {
  custom: {
    50: '#b2ba65',
    500: '#8d9e1a',
    950: '#000000',
  },
}
SCSS
$custom: #8d9e1a;
$custom-light: #b2ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9e1a",
  "rgb": {
    "r": 141,
    "g": 158,
    "b": 26
  },
  "hsl": {
    "h": 67.727,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.66333,
    "c": 0.14607,
    "h": 117.4
  },
  "luminance": 0.30191
}

Semantic roles & 50–950 ramp

primary
#8D9E1A
secondary
#5E4FC5
accent
#39EE51
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D9E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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