#968F1F#968F1F

#968F1F is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.126 H 105.7°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#968F1F
RGBrgb(150, 143, 31)
HSLhsl(56, 66%, 35%)
HSVhsv(56, 79%, 59%)
CMYKcmyk(0%, 4.7%, 79.3%, 41.2%)
CIE-LABlab(58.25, -10.08, 55.62)
CIE-LCHlch(58.25, 56.53, 100.27°)
OKLaboklab(63.67% -0.034 0.1211)
OKLCHoklch(63.67% 0.126 105.7)
XYZxyz(22.6484, 26.2288, 5.1657)
Luminance0.2623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968F1F #1F2696
analogous
#96541F #968F1F #61961F
triadic
#968F1F #1F968F #8F1F96
tetradic
#968F1F #1F9654 #1F2696 #961F61
square
#968F1F #1F9654 #1F2696 #961F61
split-complementary
#968F1F #1F6196 #541F96
monochromatic
#312E0A #635F15 #968F1F #C9BF29 #DCD454

Accessibility & contrast

On white

3.36
#968F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#968F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968F1F
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968F1F#FFFFFF#000000##000000
##968F1F1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A00
Deuteranopia (green-blind)
#9F8E28
Tritanopia (blue-blind)
#A2857A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #968f1f;
/* rgb */ color: rgb(150, 143, 31);
/* oklch */ color: oklch(63.7% 0.126 105.7);
Tailwind
colors: {
  custom: {
    50: '#b9af65',
    500: '#968f1f',
    950: '#000000',
  },
}
SCSS
$custom: #968f1f;
$custom-light: #b9af65;
$custom-dark: #000000;
JSON
{
  "hex": "#968f1f",
  "rgb": {
    "r": 150,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 56.471,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63667,
    "c": 0.12574,
    "h": 105.7
  },
  "luminance": 0.26228
}

Semantic roles & 50–950 ramp

primary
#968F1F
secondary
#5258BF
accent
#49E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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