#96841C#96841C

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

Color values

HEX#96841C
RGBrgb(150, 132, 28)
HSLhsl(51, 69%, 35%)
HSVhsv(51, 81%, 59%)
CMYKcmyk(0%, 12%, 81.3%, 41.2%)
CIE-LABlab(55.15, -4.20, 53.81)
CIE-LCHlch(55.15, 53.97, 94.47°)
OKLaboklab(61.19% -0.0178 0.1166)
OKLCHoklch(61.19% 0.118 98.7)
XYZxyz(21.0396, 23.0715, 4.4434)
Luminance0.2307 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96841C #1C2E96
analogous
#96471C #96841C #6B961C
triadic
#96841C #1C9684 #841C96
tetradic
#96841C #1C9647 #1C2E96 #961C6B
square
#96841C #1C9647 #1C2E96 #961C6B
split-complementary
#96841C #1C6B96 #471C96
monochromatic
#2F2909 #625712 #96841C #CAB126 #DEC94E

Accessibility & contrast

On white

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

On black

5.61
#96841C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96841C
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96841C#FFFFFF#000000##000000
##96841C1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96841c;
/* rgb */ color: rgb(150, 132, 28);
/* oklch */ color: oklch(61.2% 0.118 98.7);
Tailwind
colors: {
  custom: {
    50: '#b9a762',
    500: '#96841c',
    950: '#000000',
  },
}
SCSS
$custom: #96841c;
$custom-light: #b9a762;
$custom-dark: #000000;
JSON
{
  "hex": "#96841c",
  "rgb": {
    "r": 150,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 51.148,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61192,
    "c": 0.1179,
    "h": 98.7
  },
  "luminance": 0.2307
}

Semantic roles & 50–950 ramp

primary
#96841C
secondary
#4D5EC1
accent
#56EB3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96841C

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

Preview Lab → · Contrast checker → · Palette generator →

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