#968321#968321

#968321 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.0% C 0.114 H 97.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#968321
RGBrgb(150, 131, 33)
HSLhsl(50, 64%, 36%)
HSVhsv(50, 78%, 59%)
CMYKcmyk(0%, 12.7%, 78%, 41.2%)
CIE-LABlab(54.89, -3.45, 51.87)
CIE-LCHlch(54.89, 51.99, 93.81°)
OKLaboklab(61% -0.0152 0.1135)
OKLCHoklch(61% 0.114 97.6)
XYZxyz(20.9696, 22.8275, 4.7402)
Luminance0.2283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968321 #213496
analogous
#964821 #968321 #6E9621
triadic
#968321 #219683 #832196
tetradic
#968321 #219648 #213496 #96216E
square
#968321 #219648 #213496 #96216E
split-complementary
#968321 #216E96 #482196
monochromatic
#322B0B #645716 #968321 #C8AF2C #DAC557

Accessibility & contrast

On white

3.77
#968321 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#968321 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968321
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968321#FFFFFF#000000##000000
##9683211.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800D
Deuteranopia (green-blind)
#968628
Tritanopia (blue-blind)
#A27970
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #968321;
/* rgb */ color: rgb(150, 131, 33);
/* oklch */ color: oklch(61.0% 0.114 97.6);
Tailwind
colors: {
  custom: {
    50: '#b9a665',
    500: '#968321',
    950: '#000000',
  },
}
SCSS
$custom: #968321;
$custom-light: #b9a665;
$custom-dark: #000000;
JSON
{
  "hex": "#968321",
  "rgb": {
    "r": 150,
    "g": 131,
    "b": 33
  },
  "hsl": {
    "h": 50.256,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61001,
    "c": 0.11446,
    "h": 97.6
  },
  "luminance": 0.22826
}

Semantic roles & 50–950 ramp

primary
#968321
secondary
#5566BE
accent
#5CE741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968321

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

Preview Lab → · Contrast checker → · Palette generator →

#968321 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva