#8D9A2A#8D9A2A

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

Color values

HEX#8D9A2A
RGBrgb(141, 154, 42)
HSLhsl(67, 57%, 38%)
HSVhsv(67, 73%, 60%)
CMYKcmyk(8.4%, 0%, 72.7%, 39.6%)
CIE-LABlab(60.73, -19.34, 53.86)
CIE-LCHlch(60.73, 57.23, 109.75°)
OKLaboklab(65.48% -0.0583 0.1197)
OKLCHoklch(65.48% 0.133 116)
XYZxyz(22.9586, 28.9414, 6.5669)
Luminance0.2894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9A2A #372A9A
analogous
#9A6F2A #8D9A2A #559A2A
triadic
#8D9A2A #2A8D9A #9A2A8D
tetradic
#8D9A2A #2A9A6F #372A9A #9A2A55
square
#8D9A2A #2A9A6F #372A9A #9A2A55
split-complementary
#8D9A2A #2A559A #6F2A9A
monochromatic
#353A10 #616A1D #8D9A2A #B8C938 #C9D668

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D9A2A#FFFFFF#000000##000000
##8D9A2A1.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)
#A59216
Deuteranopia (green-blind)
#A49333
Tritanopia (blue-blind)
#969184
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d9a2a;
/* rgb */ color: rgb(141, 154, 42);
/* oklch */ color: oklch(65.5% 0.133 116.0);
Tailwind
colors: {
  custom: {
    50: '#b1b76c',
    500: '#8d9a2a',
    950: '#000000',
  },
}
SCSS
$custom: #8d9a2a;
$custom-light: #b1b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9a2a",
  "rgb": {
    "r": 141,
    "g": 154,
    "b": 42
  },
  "hsl": {
    "h": 66.964,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65483,
    "c": 0.13316,
    "h": 116
  },
  "luminance": 0.28941
}

Semantic roles & 50–950 ramp

primary
#8D9A2A
secondary
#6E63BC
accent
#47E059
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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