#96951F#96951F

#96951F is a light, vivid yellow. Relative luminance 0.281; OKLCH L 65.0% C 0.132 H 109.1°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#96951F
RGBrgb(150, 149, 31)
HSLhsl(59, 66%, 35%)
HSVhsv(59, 79%, 59%)
CMYKcmyk(0%, 0.7%, 79.3%, 41.2%)
CIE-LABlab(59.96, -13.27, 57.15)
CIE-LCHlch(59.96, 58.67, 103.07°)
OKLaboklab(65.03% -0.0429 0.1243)
OKLCHoklch(65.03% 0.132 109.1)
XYZxyz(23.5734, 28.0786, 5.4740)
Luminance0.2808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96951F #1F2096
analogous
#96591F #96951F #5B961F
triadic
#96951F #1F9695 #951F96
tetradic
#96951F #1F9659 #1F2096 #961F5B
square
#96951F #1F9659 #1F2096 #961F5B
split-complementary
#96951F #1F5B96 #591F96
monochromatic
#31300A #636315 #96951F #C9C729 #DCDA54

Accessibility & contrast

On white

3.17
#96951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#96951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96951F
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96951F#FFFFFF#000000##000000
##96951F1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A39229
Tritanopia (blue-blind)
#A18B7F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #96951f;
/* rgb */ color: rgb(150, 149, 31);
/* oklch */ color: oklch(65.0% 0.132 109.1);
Tailwind
colors: {
  custom: {
    50: '#b8b366',
    500: '#96951f',
    950: '#000000',
  },
}
SCSS
$custom: #96951f;
$custom-light: #b8b366;
$custom-dark: #000000;
JSON
{
  "hex": "#96951f",
  "rgb": {
    "r": 150,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 59.496,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.65028,
    "c": 0.13152,
    "h": 109.1
  },
  "luminance": 0.28078
}

Semantic roles & 50–950 ramp

primary
#96951F
secondary
#5253BF
accent
#41E93F
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #96951F

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

Preview Lab → · Contrast checker → · Palette generator →

#96951F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva