#8D962D#8D962D

#8D962D 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#8D962D
RGBrgb(141, 150, 45)
HSLhsl(65, 54%, 38%)
HSVhsv(65, 70%, 59%)
CMYKcmyk(6%, 0%, 70%, 41.2%)
CIE-LABlab(59.59, -17.11, 51.58)
CIE-LCHlch(59.59, 54.35, 108.36°)
OKLaboklab(64.57% -0.0518 0.1154)
OKLCHoklch(64.57% 0.127 114.2)
XYZxyz(22.3651, 27.6653, 6.6439)
Luminance0.2767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D962D #362D96
analogous
#966A2D #8D962D #58962D
triadic
#8D962D #2D8D96 #962D8D
tetradic
#8D962D #2D966A #362D96 #962D58
square
#8D962D #2D966A #362D96 #962D58
split-complementary
#8D962D #2D5896 #6A2D96
monochromatic
#343811 #61671F #8D962D #B9C43C #CAD36B

Accessibility & contrast

On white

3.21
#8D962D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D962D#FFFFFF#000000##000000
##8D962D1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d962d;
/* rgb */ color: rgb(141, 150, 45);
/* oklch */ color: oklch(64.6% 0.127 114.2);
Tailwind
colors: {
  custom: {
    50: '#b1b46d',
    500: '#8d962d',
    950: '#000000',
  },
}
SCSS
$custom: #8d962d;
$custom-light: #b1b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d962d",
  "rgb": {
    "r": 141,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 65.143,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64572,
    "c": 0.12653,
    "h": 114.2
  },
  "luminance": 0.27665
}

Semantic roles & 50–950 ramp

primary
#8D962D
secondary
#6D65B9
accent
#4BDD57
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D962D

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

Preview Lab → · Contrast checker → · Palette generator →

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