#8D962B#8D962B

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

Color values

HEX#8D962B
RGBrgb(141, 150, 43)
HSLhsl(65, 55%, 38%)
HSVhsv(65, 71%, 59%)
CMYKcmyk(6%, 0%, 71.3%, 41.2%)
CIE-LABlab(59.57, -17.23, 52.35)
CIE-LCHlch(59.57, 55.11, 108.22°)
OKLaboklab(64.56% -0.0524 0.1167)
OKLCHoklch(64.56% 0.128 114.2)
XYZxyz(22.3275, 27.6503, 6.4459)
Luminance0.2765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D962B #342B96
analogous
#966A2B #8D962B #57962B
triadic
#8D962B #2B8D96 #962B8D
tetradic
#8D962B #2B966A #342B96 #962B57
square
#8D962B #2B966A #342B96 #962B57
split-complementary
#8D962B #2B5796 #6A2B96
monochromatic
#343710 #60661D #8D962B #BAC639 #CBD468

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D962B#FFFFFF#000000##000000
##8D962B1.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)
#A18F19
Deuteranopia (green-blind)
#A19033
Tritanopia (blue-blind)
#968D81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d962b;
/* rgb */ color: rgb(141, 150, 43);
/* oklch */ color: oklch(64.6% 0.128 114.2);
Tailwind
colors: {
  custom: {
    50: '#b1b46c',
    500: '#8d962b',
    950: '#000000',
  },
}
SCSS
$custom: #8d962b;
$custom-light: #b1b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d962b",
  "rgb": {
    "r": 141,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 65.047,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64556,
    "c": 0.1279,
    "h": 114.2
  },
  "luminance": 0.2765
}

Semantic roles & 50–950 ramp

primary
#8D962B
secondary
#6A63BA
accent
#49DF56
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D962B

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

Preview Lab → · Contrast checker → · Palette generator →

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