#96941F#96941F

#96941F is a light, vivid yellow. Relative luminance 0.278; OKLCH L 64.8% C 0.131 H 108.5°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#96941F
RGBrgb(150, 148, 31)
HSLhsl(59, 66%, 35%)
HSVhsv(59, 79%, 59%)
CMYKcmyk(0%, 1.3%, 79.3%, 41.2%)
CIE-LABlab(59.67, -12.74, 56.89)
CIE-LCHlch(59.67, 58.30, 102.62°)
OKLaboklab(64.8% -0.0415 0.1238)
OKLCHoklch(64.8% 0.131 108.5)
XYZxyz(23.4158, 27.7635, 5.4215)
Luminance0.2776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96941F #1F2196
analogous
#96591F #96941F #5C961F
triadic
#96941F #1F9694 #941F96
tetradic
#96941F #1F9659 #1F2196 #961F5C
square
#96941F #1F9659 #1F2196 #961F5C
split-complementary
#96941F #1F5C96 #591F96
monochromatic
#31300A #636215 #96941F #C9C629 #DCD954

Accessibility & contrast

On white

3.20
#96941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#96941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96941F
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96941F#FFFFFF#000000##000000
##96941F1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A39129
Tritanopia (blue-blind)
#A18A7E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #96941f;
/* rgb */ color: rgb(150, 148, 31);
/* oklch */ color: oklch(64.8% 0.131 108.5);
Tailwind
colors: {
  custom: {
    50: '#b8b366',
    500: '#96941f',
    950: '#000000',
  },
}
SCSS
$custom: #96941f;
$custom-light: #b8b366;
$custom-dark: #000000;
JSON
{
  "hex": "#96941f",
  "rgb": {
    "r": 150,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 58.992,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.648,
    "c": 0.13054,
    "h": 108.5
  },
  "luminance": 0.27763
}

Semantic roles & 50–950 ramp

primary
#96941F
secondary
#5254BF
accent
#42E93F
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121106
muted
#81807A

Preview Lab

Preview with #96941F

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

Preview Lab → · Contrast checker → · Palette generator →

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