#96971B#96971B

#96971B is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.5% C 0.135 H 110.1°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#96971B
RGBrgb(150, 151, 27)
HSLhsl(60, 70%, 35%)
HSVhsv(60, 82%, 59%)
CMYKcmyk(0.7%, 0%, 82.1%, 40.8%)
CIE-LABlab(60.51, -14.46, 58.80)
CIE-LCHlch(60.51, 60.56, 103.81°)
OKLaboklab(65.46% -0.0466 0.1271)
OKLCHoklch(65.46% 0.135 110.1)
XYZxyz(23.8430, 28.6971, 5.3198)
Luminance0.2870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96971B #1C1B97
analogous
#975A1B #96971B #58971B
triadic
#96971B #1B9697 #971B96
tetradic
#96971B #1B975A #1C1B97 #971B58
square
#96971B #1B975A #1C1B97 #971B58
split-complementary
#96971B #1B5897 #5A1B97
monochromatic
#2F2F08 #626312 #96971B #CACB24 #DEDF4D

Accessibility & contrast

On white

3.12
#96971B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#96971B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96971B
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96971B#FFFFFF#000000##000000
##96971B1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A59427
Tritanopia (blue-blind)
#A18D81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #96971b;
/* rgb */ color: rgb(150, 151, 27);
/* oklch */ color: oklch(65.5% 0.135 110.1);
Tailwind
colors: {
  custom: {
    50: '#b9b565',
    500: '#96971b',
    950: '#000000',
  },
}
SCSS
$custom: #96971b;
$custom-light: #b9b565;
$custom-dark: #000000;
JSON
{
  "hex": "#96971b",
  "rgb": {
    "r": 150,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 60.484,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.65465,
    "c": 0.13538,
    "h": 110.1
  },
  "luminance": 0.28696
}

Semantic roles & 50–950 ramp

primary
#96971B
secondary
#4D4CC1
accent
#3BEC3D
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #96971B

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

Preview Lab → · Contrast checker → · Palette generator →

#96971B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva