#8D962C#8D962C

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

Color values

HEX#8D962C
RGBrgb(141, 150, 44)
HSLhsl(65, 55%, 38%)
HSVhsv(65, 71%, 59%)
CMYKcmyk(6%, 0%, 70.7%, 41.2%)
CIE-LABlab(59.58, -17.17, 51.97)
CIE-LCHlch(59.58, 54.73, 108.29°)
OKLaboklab(64.56% -0.0521 0.1161)
OKLCHoklch(64.56% 0.127 114.2)
XYZxyz(22.3461, 27.6577, 6.5437)
Luminance0.2766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D962C #352C96
analogous
#966A2C #8D962C #58962C
triadic
#8D962C #2C8D96 #962C8D
tetradic
#8D962C #2C966A #352C96 #962C58
square
#8D962C #2C966A #352C96 #962C58
split-complementary
#8D962C #2C5896 #6A2C96
monochromatic
#343710 #61671E #8D962C #B9C53A #CAD369

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D962C#FFFFFF#000000##000000
##8D962C1.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)
#A18F1B
Deuteranopia (green-blind)
#A19034
Tritanopia (blue-blind)
#968D81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d962c;
/* rgb */ color: rgb(141, 150, 44);
/* oklch */ color: oklch(64.6% 0.127 114.2);
Tailwind
colors: {
  custom: {
    50: '#b1b46c',
    500: '#8d962c',
    950: '#000000',
  },
}
SCSS
$custom: #8d962c;
$custom-light: #b1b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#8d962c",
  "rgb": {
    "r": 141,
    "g": 150,
    "b": 44
  },
  "hsl": {
    "h": 65.094,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64564,
    "c": 0.12722,
    "h": 114.2
  },
  "luminance": 0.27657
}

Semantic roles & 50–950 ramp

primary
#8D962C
secondary
#6B64BA
accent
#4ADE56
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D962C

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

Preview Lab → · Contrast checker → · Palette generator →

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