#96841F#96841F

#96841F is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.2% C 0.116 H 98.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#96841F
RGBrgb(150, 132, 31)
HSLhsl(51, 66%, 35%)
HSVhsv(51, 79%, 59%)
CMYKcmyk(0%, 12%, 79.3%, 41.2%)
CIE-LABlab(55.16, -4.09, 52.82)
CIE-LCHlch(55.16, 52.98, 94.43°)
OKLaboklab(61.21% -0.0172 0.1151)
OKLCHoklch(61.21% 0.116 98.5)
XYZxyz(21.0773, 23.0866, 4.6420)
Luminance0.2308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96841F #1F3196
analogous
#96481F #96841F #6D961F
triadic
#96841F #1F9684 #841F96
tetradic
#96841F #1F9648 #1F3196 #961F6D
square
#96841F #1F9648 #1F3196 #961F6D
split-complementary
#96841F #1F6D96 #481F96
monochromatic
#312B0A #635715 #96841F #C9B129 #DCC754

Accessibility & contrast

On white

3.74
#96841F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#96841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96841F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96841F#FFFFFF#000000##000000
##96841F1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928107
Deuteranopia (green-blind)
#978726
Tritanopia (blue-blind)
#A27971
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #96841f;
/* rgb */ color: rgb(150, 132, 31);
/* oklch */ color: oklch(61.2% 0.116 98.5);
Tailwind
colors: {
  custom: {
    50: '#b9a764',
    500: '#96841f',
    950: '#000000',
  },
}
SCSS
$custom: #96841f;
$custom-light: #b9a764;
$custom-dark: #000000;
JSON
{
  "hex": "#96841f",
  "rgb": {
    "r": 150,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 50.924,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61209,
    "c": 0.11634,
    "h": 98.5
  },
  "luminance": 0.23085
}

Semantic roles & 50–950 ramp

primary
#96841F
secondary
#5262BF
accent
#59E93F
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96841F

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

Preview Lab → · Contrast checker → · Palette generator →

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