#96821C#96821C

#96821C is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.8% C 0.116 H 97.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#96821C
RGBrgb(150, 130, 28)
HSLhsl(50, 69%, 35%)
HSVhsv(50, 81%, 59%)
CMYKcmyk(0%, 13.3%, 81.3%, 41.2%)
CIE-LABlab(54.59, -3.10, 53.31)
CIE-LCHlch(54.59, 53.40, 93.32°)
OKLaboklab(60.75% -0.0147 0.1155)
OKLCHoklch(60.75% 0.116 97.2)
XYZxyz(20.7710, 22.5343, 4.3539)
Luminance0.2253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96821C #1C3096
analogous
#96451C #96821C #6D961C
triadic
#96821C #1C9682 #821C96
tetradic
#96821C #1C9645 #1C3096 #961C6D
square
#96821C #1C9645 #1C3096 #961C6D
split-complementary
#96821C #1C6D96 #451C96
monochromatic
#2F2909 #625512 #96821C #CAAF26 #DEC64E

Accessibility & contrast

On white

3.81
#96821C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#96821C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #96821C
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96821C#FFFFFF#000000##000000
##96821C1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F01
Deuteranopia (green-blind)
#958524
Tritanopia (blue-blind)
#A2776F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #96821c;
/* rgb */ color: rgb(150, 130, 28);
/* oklch */ color: oklch(60.8% 0.116 97.2);
Tailwind
colors: {
  custom: {
    50: '#b9a562',
    500: '#96821c',
    950: '#000000',
  },
}
SCSS
$custom: #96821c;
$custom-light: #b9a562;
$custom-dark: #000000;
JSON
{
  "hex": "#96821c",
  "rgb": {
    "r": 150,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 50.164,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60751,
    "c": 0.11641,
    "h": 97.2
  },
  "luminance": 0.22533
}

Semantic roles & 50–950 ramp

primary
#96821C
secondary
#4D60C1
accent
#59EB3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #96821C

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

Preview Lab → · Contrast checker → · Palette generator →

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