#8D962E#8D962E

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

Color values

HEX#8D962E
RGBrgb(141, 150, 46)
HSLhsl(65, 53%, 38%)
HSVhsv(65, 69%, 59%)
CMYKcmyk(6%, 0%, 69.3%, 41.2%)
CIE-LABlab(59.59, -17.05, 51.19)
CIE-LCHlch(59.59, 53.96, 108.43°)
OKLaboklab(64.58% -0.0516 0.1148)
OKLCHoklch(64.58% 0.126 114.2)
XYZxyz(22.3846, 27.6731, 6.7465)
Luminance0.2767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D962E #372E96
analogous
#966B2E #8D962E #59962E
triadic
#8D962E #2E8D96 #962E8D
tetradic
#8D962E #2E966B #372E96 #962E59
square
#8D962E #2E966B #372E96 #962E59
split-complementary
#8D962E #2E5996 #6B2E96
monochromatic
#353811 #616720 #8D962E #B8C43E #C9D26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D962E#FFFFFF#000000##000000
##8D962E1.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)
#A18F1E
Deuteranopia (green-blind)
#A19036
Tritanopia (blue-blind)
#968D81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d962e;
/* rgb */ color: rgb(141, 150, 46);
/* oklch */ color: oklch(64.6% 0.126 114.2);
Tailwind
colors: {
  custom: {
    50: '#b1b46d',
    500: '#8d962e',
    950: '#000000',
  },
}
SCSS
$custom: #8d962e;
$custom-light: #b1b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d962e",
  "rgb": {
    "r": 141,
    "g": 150,
    "b": 46
  },
  "hsl": {
    "h": 65.192,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6458,
    "c": 0.12583,
    "h": 114.2
  },
  "luminance": 0.27673
}

Semantic roles & 50–950 ramp

primary
#8D962E
secondary
#6E67B9
accent
#4BDC58
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D962E

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

Preview Lab → · Contrast checker → · Palette generator →

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