#8D962A#8D962A

#8D962A is a light, vivid yellow. Relative luminance 0.276; OKLCH L 64.5% C 0.129 H 114.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8D962A
RGBrgb(141, 150, 42)
HSLhsl(65, 56%, 38%)
HSVhsv(65, 72%, 59%)
CMYKcmyk(6%, 0%, 72%, 41.2%)
CIE-LABlab(59.56, -17.28, 52.72)
CIE-LCHlch(59.56, 55.48, 108.15°)
OKLaboklab(64.55% -0.0526 0.1173)
OKLCHoklch(64.55% 0.129 114.2)
XYZxyz(22.3094, 27.6430, 6.3504)
Luminance0.2764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D962A #332A96
analogous
#96692A #8D962A #57962A
triadic
#8D962A #2A8D96 #962A8D
tetradic
#8D962A #2A9669 #332A96 #962A57
square
#8D962A #2A9669 #332A96 #962A57
split-complementary
#8D962A #2A5796 #692A96
monochromatic
#33360F #60661D #8D962A #BAC637 #CBD466

Accessibility & contrast

On white

3.22
#8D962A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#8D962A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D962A
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D962A#FFFFFF#000000##000000
##8D962A1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F17
Deuteranopia (green-blind)
#A19032
Tritanopia (blue-blind)
#968D81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d962a;
/* rgb */ color: rgb(141, 150, 42);
/* oklch */ color: oklch(64.5% 0.129 114.2);
Tailwind
colors: {
  custom: {
    50: '#b1b46b',
    500: '#8d962a',
    950: '#000000',
  },
}
SCSS
$custom: #8d962a;
$custom-light: #b1b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d962a",
  "rgb": {
    "r": 141,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 65,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64549,
    "c": 0.12857,
    "h": 114.2
  },
  "luminance": 0.27643
}

Semantic roles & 50–950 ramp

primary
#8D962A
secondary
#6961BA
accent
#48E055
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D962A

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

Preview Lab → · Contrast checker → · Palette generator →

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