#967A1F#967A1F

#967A1F is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 59.0% C 0.110 H 90.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#967A1F
RGBrgb(150, 122, 31)
HSLhsl(46, 66%, 35%)
HSVhsv(46, 79%, 59%)
CMYKcmyk(0%, 18.7%, 79.3%, 41.2%)
CIE-LABlab(52.40, 1.49, 50.30)
CIE-LCHlch(52.40, 50.32, 88.30°)
OKLaboklab(59.03% -0.0013 0.1096)
OKLCHoklch(59.03% 0.11 90.7)
XYZxyz(19.7857, 20.5033, 4.2115)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#967A1F #1F3B96
analogous
#963E1F #967A1F #77961F
triadic
#967A1F #1F967A #7A1F96
tetradic
#967A1F #1F963E #1F3B96 #961F77
square
#967A1F #1F963E #1F3B96 #961F77
split-complementary
#967A1F #1F7796 #3E1F96
monochromatic
#31270A #635115 #967A1F #C9A329 #DCBC54

Accessibility & contrast

On white

4.12
#967A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#967A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #967A1F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##967A1F#FFFFFF#000000##000000
##967A1F1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89780D
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#A36F69
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #967a1f;
/* rgb */ color: rgb(150, 122, 31);
/* oklch */ color: oklch(59.0% 0.110 90.7);
Tailwind
colors: {
  custom: {
    50: '#b9a062',
    500: '#967a1f',
    950: '#000000',
  },
}
SCSS
$custom: #967a1f;
$custom-light: #b9a062;
$custom-dark: #000000;
JSON
{
  "hex": "#967a1f",
  "rgb": {
    "r": 150,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 45.882,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59027,
    "c": 0.10965,
    "h": 90.7
  },
  "luminance": 0.20502
}

Semantic roles & 50–950 ramp

primary
#967A1F
secondary
#526CBF
accent
#67E93F
background
#FBF9F6
surface
#F7F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #967A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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