#96851E#96851E

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

Color values

HEX#96851E
RGBrgb(150, 133, 30)
HSLhsl(52, 67%, 35%)
HSVhsv(52, 80%, 59%)
CMYKcmyk(0%, 11.3%, 80%, 41.2%)
CIE-LABlab(55.44, -4.68, 53.41)
CIE-LCHlch(55.44, 53.62, 95.01°)
OKLaboklab(61.43% -0.019 0.1161)
OKLCHoklch(61.43% 0.118 99.3)
XYZxyz(21.2006, 23.3539, 4.6191)
Luminance0.2335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96851E #1E2F96
analogous
#96491E #96851E #6B961E
triadic
#96851E #1E9685 #851E96
tetradic
#96851E #1E9649 #1E2F96 #961E6B
square
#96851E #1E9649 #1E2F96 #961E6B
split-complementary
#96851E #1E6B96 #491E96
monochromatic
#302B0A #635814 #96851E #C9B228 #DCC952

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96851E#FFFFFF#000000##000000
##96851E1.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)
#938104
Deuteranopia (green-blind)
#978726
Tritanopia (blue-blind)
#A27A72
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #96851e;
/* rgb */ color: rgb(150, 133, 30);
/* oklch */ color: oklch(61.4% 0.118 99.3);
Tailwind
colors: {
  custom: {
    50: '#b9a863',
    500: '#96851e',
    950: '#000000',
  },
}
SCSS
$custom: #96851e;
$custom-light: #b9a863;
$custom-dark: #000000;
JSON
{
  "hex": "#96851e",
  "rgb": {
    "r": 150,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 51.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61425,
    "c": 0.11765,
    "h": 99.3
  },
  "luminance": 0.23353
}

Semantic roles & 50–950 ramp

primary
#96851E
secondary
#5060BF
accent
#56EA3E
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96851E

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

Preview Lab → · Contrast checker → · Palette generator →

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