#8D9B2A#8D9B2A

#8D9B2A is a light, vivid yellow. Relative luminance 0.293; OKLCH L 65.7% C 0.134 H 116.4°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8D9B2A
RGBrgb(141, 155, 42)
HSLhsl(67, 57%, 39%)
HSVhsv(67, 73%, 61%)
CMYKcmyk(9%, 0%, 72.9%, 39.2%)
CIE-LABlab(61.02, -19.85, 54.14)
CIE-LCHlch(61.02, 57.67, 110.14°)
OKLaboklab(65.72% -0.0597 0.1203)
OKLCHoklch(65.72% 0.134 116.4)
XYZxyz(23.1243, 29.2729, 6.6221)
Luminance0.2927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9B2A #382A9B
analogous
#9B702A #8D9B2A #549B2A
triadic
#8D9B2A #2A8D9B #9B2A8D
tetradic
#8D9B2A #2A9B70 #382A9B #9B2A54
square
#8D9B2A #2A9B70 #382A9B #9B2A54
split-complementary
#8D9B2A #2A549B #702A9B
monochromatic
#353B10 #616B1D #8D9B2A #B7C939 #C9D669

Accessibility & contrast

On white

3.06
#8D9B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#8D9B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9B2A
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9B2A#FFFFFF#000000##000000
##8D9B2A1.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69315
Deuteranopia (green-blind)
#A59433
Tritanopia (blue-blind)
#969285
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8d9b2a;
/* rgb */ color: rgb(141, 155, 42);
/* oklch */ color: oklch(65.7% 0.134 116.4);
Tailwind
colors: {
  custom: {
    50: '#b1b86c',
    500: '#8d9b2a',
    950: '#000000',
  },
}
SCSS
$custom: #8d9b2a;
$custom-light: #b1b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9b2a",
  "rgb": {
    "r": 141,
    "g": 155,
    "b": 42
  },
  "hsl": {
    "h": 67.434,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65718,
    "c": 0.13432,
    "h": 116.4
  },
  "luminance": 0.29273
}

Semantic roles & 50–950 ramp

primary
#8D9B2A
secondary
#6F64BD
accent
#47E15A
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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