#8D9A2E#8D9A2E

#8D9A2E is a light, vivid yellow. Relative luminance 0.290; OKLCH L 65.5% C 0.130 H 116.1°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#8D9A2E
RGBrgb(141, 154, 46)
HSLhsl(67, 54%, 39%)
HSVhsv(67, 70%, 60%)
CMYKcmyk(8.4%, 0%, 70.1%, 39.6%)
CIE-LABlab(60.76, -19.12, 52.36)
CIE-LCHlch(60.76, 55.74, 110.06°)
OKLaboklab(65.51% -0.0573 0.1172)
OKLCHoklch(65.51% 0.13 116.1)
XYZxyz(23.0338, 28.9715, 6.9629)
Luminance0.2897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9A2E #3B2E9A
analogous
#9A712E #8D9A2E #579A2E
triadic
#8D9A2E #2E8D9A #9A2E8D
tetradic
#8D9A2E #2E9A71 #3B2E9A #9A2E57
square
#8D9A2E #2E9A71 #3B2E9A #9A2E57
split-complementary
#8D9A2E #2E579A #712E9A
monochromatic
#373C12 #626B20 #8D9A2E #B6C63F #C8D46F

Accessibility & contrast

On white

3.09
#8D9A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#8D9A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9A2E
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9A2E#FFFFFF#000000##000000
##8D9A2E1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5921D
Deuteranopia (green-blind)
#A49336
Tritanopia (blue-blind)
#969185
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8d9a2e;
/* rgb */ color: rgb(141, 154, 46);
/* oklch */ color: oklch(65.5% 0.130 116.1);
Tailwind
colors: {
  custom: {
    50: '#b1b76e',
    500: '#8d9a2e',
    950: '#000000',
  },
}
SCSS
$custom: #8d9a2e;
$custom-light: #b1b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9a2e",
  "rgb": {
    "r": 141,
    "g": 154,
    "b": 46
  },
  "hsl": {
    "h": 67.222,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65513,
    "c": 0.13049,
    "h": 116.1
  },
  "luminance": 0.28971
}

Semantic roles & 50–950 ramp

primary
#8D9A2E
secondary
#7369BB
accent
#4ADD5C
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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