#8D9E2A#8D9E2A

#8D9E2A is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.4% C 0.138 H 117.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#8D9E2A
RGBrgb(141, 158, 42)
HSLhsl(69, 58%, 39%)
HSVhsv(69, 73%, 62%)
CMYKcmyk(10.8%, 0%, 73.4%, 38%)
CIE-LABlab(61.90, -21.37, 54.99)
CIE-LCHlch(61.90, 59.00, 111.24°)
OKLaboklab(66.42% -0.064 0.1221)
OKLCHoklch(66.42% 0.138 117.6)
XYZxyz(23.6298, 30.2839, 6.7906)
Luminance0.3028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9E2A #3B2A9E
analogous
#9E752A #8D9E2A #539E2A
triadic
#8D9E2A #2A8D9E #9E2A8D
tetradic
#8D9E2A #2A9E75 #3B2A9E #9E2A53
square
#8D9E2A #2A9E75 #3B2A9E #9E2A53
split-complementary
#8D9E2A #2A539E #752A9E
monochromatic
#373D10 #626E1D #8D9E2A #B6CB3A #C8D86B

Accessibility & contrast

On white

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

On black

7.06
#8D9E2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D9E2A
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9E2A#FFFFFF#000000##000000
##8D9E2A1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99514
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#969588
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8d9e2a;
/* rgb */ color: rgb(141, 158, 42);
/* oklch */ color: oklch(66.4% 0.138 117.6);
Tailwind
colors: {
  custom: {
    50: '#b1ba6c',
    500: '#8d9e2a',
    950: '#000000',
  },
}
SCSS
$custom: #8d9e2a;
$custom-light: #b1ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9e2a",
  "rgb": {
    "r": 141,
    "g": 158,
    "b": 42
  },
  "hsl": {
    "h": 68.793,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66422,
    "c": 0.13783,
    "h": 117.6
  },
  "luminance": 0.30284
}

Semantic roles & 50–950 ramp

primary
#8D9E2A
secondary
#7366BE
accent
#47E15D
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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