#8B962F#8B962F

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

Color values

HEX#8B962F
RGBrgb(139, 150, 47)
HSLhsl(66, 52%, 39%)
HSVhsv(66, 69%, 59%)
CMYKcmyk(7.3%, 0%, 68.7%, 41.2%)
CIE-LABlab(59.44, -17.87, 50.58)
CIE-LCHlch(59.44, 53.65, 109.46°)
OKLaboklab(64.42% -0.0536 0.1137)
OKLCHoklch(64.42% 0.126 115.2)
XYZxyz(22.0674, 27.5072, 6.8357)
Luminance0.2751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B962F #3A2F96
analogous
#966D2F #8B962F #57962F
triadic
#8B962F #2F8B96 #962F8B
tetradic
#8B962F #2F966D #3A2F96 #962F57
square
#8B962F #2F966D #3A2F96 #962F57
split-complementary
#8B962F #2F5796 #6D2F96
monochromatic
#353912 #606720 #8B962F #B5C33F #C7D26E

Accessibility & contrast

On white

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

On black

6.50
#8B962F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B962F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B962F#FFFFFF#000000##000000
##8B962F1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b962f;
/* rgb */ color: rgb(139, 150, 47);
/* oklch */ color: oklch(64.4% 0.126 115.2);
Tailwind
colors: {
  custom: {
    50: '#b0b46e',
    500: '#8b962f',
    950: '#000000',
  },
}
SCSS
$custom: #8b962f;
$custom-light: #b0b46e;
$custom-dark: #000000;
JSON
{
  "hex": "#8b962f",
  "rgb": {
    "r": 139,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 66.408,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64421,
    "c": 0.12572,
    "h": 115.2
  },
  "luminance": 0.27507
}

Semantic roles & 50–950 ramp

primary
#8B962F
secondary
#7168B9
accent
#4CDC5B
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8B962F

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

Preview Lab → · Contrast checker → · Palette generator →

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