#967B1F#967B1F

#967B1F is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 59.2% C 0.110 H 91.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#967B1F
RGBrgb(150, 123, 31)
HSLhsl(46, 66%, 35%)
HSVhsv(46, 79%, 59%)
CMYKcmyk(0%, 18%, 79.3%, 41.2%)
CIE-LABlab(52.67, 0.93, 50.55)
CIE-LCHlch(52.67, 50.56, 88.94°)
OKLaboklab(59.24% -0.0029 0.1102)
OKLCHoklch(59.24% 0.11 91.5)
XYZxyz(19.9091, 20.7501, 4.2526)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#967B1F #1F3A96
analogous
#96401F #967B1F #75961F
triadic
#967B1F #1F967B #7B1F96
tetradic
#967B1F #1F9640 #1F3A96 #961F75
square
#967B1F #1F9640 #1F3A96 #961F75
split-complementary
#967B1F #1F7596 #401F96
monochromatic
#31280A #635115 #967B1F #C9A529 #DCBD54

Accessibility & contrast

On white

4.08
#967B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#967B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #967B1F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##967B1F#FFFFFF#000000##000000
##967B1F1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790C
Deuteranopia (green-blind)
#908125
Tritanopia (blue-blind)
#A37069
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #967b1f;
/* rgb */ color: rgb(150, 123, 31);
/* oklch */ color: oklch(59.2% 0.110 91.5);
Tailwind
colors: {
  custom: {
    50: '#b9a063',
    500: '#967b1f',
    950: '#000000',
  },
}
SCSS
$custom: #967b1f;
$custom-light: #b9a063;
$custom-dark: #000000;
JSON
{
  "hex": "#967b1f",
  "rgb": {
    "r": 150,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 46.387,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59243,
    "c": 0.11022,
    "h": 91.5
  },
  "luminance": 0.20749
}

Semantic roles & 50–950 ramp

primary
#967B1F
secondary
#526BBF
accent
#66E93F
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #967B1F

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

Preview Lab → · Contrast checker → · Palette generator →

#967B1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva