#8D962F#8D962F

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

Color values

HEX#8D962F
RGBrgb(141, 150, 47)
HSLhsl(65, 52%, 39%)
HSVhsv(65, 69%, 59%)
CMYKcmyk(6%, 0%, 68.7%, 41.2%)
CIE-LABlab(59.60, -16.99, 50.79)
CIE-LCHlch(59.60, 53.56, 108.50°)
OKLaboklab(64.59% -0.0513 0.1141)
OKLCHoklch(64.59% 0.125 114.2)
XYZxyz(22.4045, 27.6811, 6.8515)
Luminance0.2768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D962F #382F96
analogous
#966B2F #8D962F #59962F
triadic
#8D962F #2F8D96 #962F8D
tetradic
#8D962F #2F966B #382F96 #962F59
square
#8D962F #2F966B #382F96 #962F59
split-complementary
#8D962F #2F5996 #6B2F96
monochromatic
#353912 #616720 #8D962F #B7C33F #C9D26E

Accessibility & contrast

On white

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

On black

6.54
#8D962F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D962F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D962F#FFFFFF#000000##000000
##8D962F1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F20
Deuteranopia (green-blind)
#A09136
Tritanopia (blue-blind)
#968D81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8d962f;
/* rgb */ color: rgb(141, 150, 47);
/* oklch */ color: oklch(64.6% 0.125 114.2);
Tailwind
colors: {
  custom: {
    50: '#b1b46e',
    500: '#8d962f',
    950: '#000000',
  },
}
SCSS
$custom: #8d962f;
$custom-light: #b1b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d962f",
  "rgb": {
    "r": 141,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 65.243,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64588,
    "c": 0.12511,
    "h": 114.2
  },
  "luminance": 0.27681
}

Semantic roles & 50–950 ramp

primary
#8D962F
secondary
#6F68B9
accent
#4CDC59
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8D962F

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

Preview Lab → · Contrast checker → · Palette generator →

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