#8B962A#8B962A

#8B962A is a light, vivid yellow. Relative luminance 0.275; OKLCH L 64.4% C 0.129 H 115.2°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#8B962A
RGBrgb(139, 150, 42)
HSLhsl(66, 56%, 38%)
HSVhsv(66, 72%, 59%)
CMYKcmyk(7.3%, 0%, 72%, 41.2%)
CIE-LABlab(59.41, -18.16, 52.51)
CIE-LCHlch(59.41, 55.57, 109.08°)
OKLaboklab(64.38% -0.0549 0.1169)
OKLCHoklch(64.38% 0.129 115.2)
XYZxyz(21.9723, 27.4692, 6.3346)
Luminance0.2747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B962A #352A96
analogous
#966B2A #8B962A #55962A
triadic
#8B962A #2A8B96 #962A8B
tetradic
#8B962A #2A966B #352A96 #962A55
square
#8B962A #2A966B #352A96 #962A55
split-complementary
#8B962A #2A5596 #6B2A96
monochromatic
#32360F #5F661D #8B962A #B7C637 #C9D466

Accessibility & contrast

On white

3.23
#8B962A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#8B962A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B962A
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B962A#FFFFFF#000000##000000
##8B962A1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E17
Deuteranopia (green-blind)
#A09032
Tritanopia (blue-blind)
#948D81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8b962a;
/* rgb */ color: rgb(139, 150, 42);
/* oklch */ color: oklch(64.4% 0.129 115.2);
Tailwind
colors: {
  custom: {
    50: '#b0b46b',
    500: '#8b962a',
    950: '#000000',
  },
}
SCSS
$custom: #8b962a;
$custom-light: #b0b46b;
$custom-dark: #000000;
JSON
{
  "hex": "#8b962a",
  "rgb": {
    "r": 139,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 66.111,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64382,
    "c": 0.12919,
    "h": 115.2
  },
  "luminance": 0.27469
}

Semantic roles & 50–950 ramp

primary
#8B962A
secondary
#6A61BA
accent
#48E058
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8B962A

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

Preview Lab → · Contrast checker → · Palette generator →

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