#967F1F#967F1F

#967F1F is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.1% C 0.113 H 94.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#967F1F
RGBrgb(150, 127, 31)
HSLhsl(48, 66%, 35%)
HSVhsv(48, 79%, 59%)
CMYKcmyk(0%, 15.3%, 79.3%, 41.2%)
CIE-LABlab(53.77, -1.31, 51.56)
CIE-LCHlch(53.77, 51.57, 91.46°)
OKLaboklab(60.11% -0.0093 0.1124)
OKLCHoklch(60.11% 0.113 94.7)
XYZxyz(20.4155, 21.7629, 4.4214)
Luminance0.2176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#967F1F #1F3696
analogous
#96431F #967F1F #72961F
triadic
#967F1F #1F967F #7F1F96
tetradic
#967F1F #1F9643 #1F3696 #961F72
square
#967F1F #1F9643 #1F3696 #961F72
split-complementary
#967F1F #1F7296 #431F96
monochromatic
#31290A #635415 #967F1F #C9AA29 #DCC154

Accessibility & contrast

On white

3.92
#967F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#967F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #967F1F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##967F1F#FFFFFF#000000##000000
##967F1F1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0A
Deuteranopia (green-blind)
#938325
Tritanopia (blue-blind)
#A3746D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #967f1f;
/* rgb */ color: rgb(150, 127, 31);
/* oklch */ color: oklch(60.1% 0.113 94.7);
Tailwind
colors: {
  custom: {
    50: '#b9a363',
    500: '#967f1f',
    950: '#000000',
  },
}
SCSS
$custom: #967f1f;
$custom-light: #b9a363;
$custom-dark: #000000;
JSON
{
  "hex": "#967f1f",
  "rgb": {
    "r": 150,
    "g": 127,
    "b": 31
  },
  "hsl": {
    "h": 48.403,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60111,
    "c": 0.11274,
    "h": 94.7
  },
  "luminance": 0.21762
}

Semantic roles & 50–950 ramp

primary
#967F1F
secondary
#5267BF
accent
#60E93F
background
#FBFAF6
surface
#F7F3EB
border
#D0CDC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #967F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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