#968D1F#968D1F

#968D1F is a light, vivid yellow. Relative luminance 0.256; OKLCH L 63.2% C 0.124 H 104.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#968D1F
RGBrgb(150, 141, 31)
HSLhsl(55, 66%, 35%)
HSVhsv(55, 79%, 59%)
CMYKcmyk(0%, 6%, 79.3%, 41.2%)
CIE-LABlab(57.69, -9.00, 55.11)
CIE-LCHlch(57.69, 55.84, 99.28°)
OKLaboklab(63.22% -0.031 0.12)
OKLCHoklch(63.22% 0.124 104.5)
XYZxyz(22.3509, 25.6336, 5.0665)
Luminance0.2563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968D1F #1F2896
analogous
#96511F #968D1F #63961F
triadic
#968D1F #1F968D #8D1F96
tetradic
#968D1F #1F9651 #1F2896 #961F63
square
#968D1F #1F9651 #1F2896 #961F63
split-complementary
#968D1F #1F6396 #511F96
monochromatic
#312E0A #635D15 #968D1F #C9BD29 #DCD154

Accessibility & contrast

On white

3.43
#968D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#968D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968D1F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968D1F#FFFFFF#000000##000000
##968D1F1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8801
Deuteranopia (green-blind)
#9D8D28
Tritanopia (blue-blind)
#A28379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #968d1f;
/* rgb */ color: rgb(150, 141, 31);
/* oklch */ color: oklch(63.2% 0.124 104.5);
Tailwind
colors: {
  custom: {
    50: '#b9ae65',
    500: '#968d1f',
    950: '#000000',
  },
}
SCSS
$custom: #968d1f;
$custom-light: #b9ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#968d1f",
  "rgb": {
    "r": 150,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 55.462,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63216,
    "c": 0.1239,
    "h": 104.5
  },
  "luminance": 0.25633
}

Semantic roles & 50–950 ramp

primary
#968D1F
secondary
#525ABF
accent
#4CE93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #968D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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