#96931F#96931F

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

Color values

HEX#96931F
RGBrgb(150, 147, 31)
HSLhsl(58, 66%, 35%)
HSVhsv(58, 79%, 59%)
CMYKcmyk(0%, 2%, 79.3%, 41.2%)
CIE-LABlab(59.39, -12.21, 56.64)
CIE-LCHlch(59.39, 57.94, 102.16°)
OKLaboklab(64.57% -0.04 0.1232)
OKLCHoklch(64.57% 0.13 108)
XYZxyz(23.2597, 27.4512, 5.3694)
Luminance0.2745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96931F #1F2296
analogous
#96571F #96931F #5E961F
triadic
#96931F #1F9693 #931F96
tetradic
#96931F #1F9657 #1F2296 #961F5E
square
#96931F #1F9657 #1F2296 #961F5E
split-complementary
#96931F #1F5E96 #571F96
monochromatic
#31300A #636115 #96931F #C9C529 #DCD854

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96931F#FFFFFF#000000##000000
##96931F1.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)
#A29129
Tritanopia (blue-blind)
#A1897E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #96931f;
/* rgb */ color: rgb(150, 147, 31);
/* oklch */ color: oklch(64.6% 0.130 108.0);
Tailwind
colors: {
  custom: {
    50: '#b8b266',
    500: '#96931f',
    950: '#000000',
  },
}
SCSS
$custom: #96931f;
$custom-light: #b8b266;
$custom-dark: #000000;
JSON
{
  "hex": "#96931f",
  "rgb": {
    "r": 150,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 58.487,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64573,
    "c": 0.12955,
    "h": 108
  },
  "luminance": 0.2745
}

Semantic roles & 50–950 ramp

primary
#96931F
secondary
#5255BF
accent
#43E93F
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #96931F

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

Preview Lab → · Contrast checker → · Palette generator →

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