#96931B#96931B

#96931B is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.6% C 0.131 H 108.0°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#96931B
RGBrgb(150, 147, 27)
HSLhsl(59, 69%, 35%)
HSVhsv(59, 82%, 59%)
CMYKcmyk(0%, 2%, 82%, 41.2%)
CIE-LABlab(59.37, -12.35, 57.81)
CIE-LCHlch(59.37, 59.12, 102.06°)
OKLaboklab(64.55% -0.0407 0.125)
OKLCHoklch(64.55% 0.131 108)
XYZxyz(23.2102, 27.4314, 5.1089)
Luminance0.2743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96931B #1B1E96
analogous
#96561B #96931B #5B961B
triadic
#96931B #1B9693 #931B96
tetradic
#96931B #1B9656 #1B1E96 #961B5B
square
#96931B #1B9656 #1B1E96 #961B5B
split-complementary
#96931B #1B5B96 #561B96
monochromatic
#2E2D08 #626012 #96931B #CAC624 #DFDB4D

Accessibility & contrast

On white

3.24
#96931B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#96931B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96931B
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96931B#FFFFFF#000000##000000
##96931B1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A29126
Tritanopia (blue-blind)
#A1897D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #96931b;
/* rgb */ color: rgb(150, 147, 27);
/* oklch */ color: oklch(64.6% 0.131 108.0);
Tailwind
colors: {
  custom: {
    50: '#b9b264',
    500: '#96931b',
    950: '#000000',
  },
}
SCSS
$custom: #96931b;
$custom-light: #b9b264;
$custom-dark: #000000;
JSON
{
  "hex": "#96931b",
  "rgb": {
    "r": 150,
    "g": 147,
    "b": 27
  },
  "hsl": {
    "h": 58.537,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.64553,
    "c": 0.13145,
    "h": 108
  },
  "luminance": 0.27431
}

Semantic roles & 50–950 ramp

primary
#96931B
secondary
#4C4FC1
accent
#40EC3B
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #96931B

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

Preview Lab → · Contrast checker → · Palette generator →

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