#96851C#96851C

#96851C is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.4% C 0.119 H 99.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#96851C
RGBrgb(150, 133, 28)
HSLhsl(52, 69%, 35%)
HSVhsv(52, 81%, 59%)
CMYKcmyk(0%, 11.3%, 81.3%, 41.2%)
CIE-LABlab(55.42, -4.75, 54.06)
CIE-LCHlch(55.42, 54.26, 95.03°)
OKLaboklab(61.41% -0.0193 0.1171)
OKLCHoklch(61.41% 0.119 99.4)
XYZxyz(21.1759, 23.3440, 4.4888)
Luminance0.2334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96851C #1C2D96
analogous
#96481C #96851C #6A961C
triadic
#96851C #1C9685 #851C96
tetradic
#96851C #1C9648 #1C2D96 #961C6A
square
#96851C #1C9648 #1C2D96 #961C6A
split-complementary
#96851C #1C6A96 #481C96
monochromatic
#2F2A09 #625712 #96851C #CAB326 #DECA4E

Accessibility & contrast

On white

3.70
#96851C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#96851C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96851C
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96851C#FFFFFF#000000##000000
##96851C1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#A27A72
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #96851c;
/* rgb */ color: rgb(150, 133, 28);
/* oklch */ color: oklch(61.4% 0.119 99.4);
Tailwind
colors: {
  custom: {
    50: '#b9a863',
    500: '#96851c',
    950: '#000000',
  },
}
SCSS
$custom: #96851c;
$custom-light: #b9a863;
$custom-dark: #000000;
JSON
{
  "hex": "#96851c",
  "rgb": {
    "r": 150,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 51.639,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61413,
    "c": 0.11867,
    "h": 99.4
  },
  "luminance": 0.23343
}

Semantic roles & 50–950 ramp

primary
#96851C
secondary
#4D5DC1
accent
#55EB3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96851C

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

Preview Lab → · Contrast checker → · Palette generator →

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