#968320#968320

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

Color values

HEX#968320
RGBrgb(150, 131, 32)
HSLhsl(50, 65%, 36%)
HSVhsv(50, 79%, 59%)
CMYKcmyk(0%, 12.7%, 78.7%, 41.2%)
CIE-LABlab(54.89, -3.49, 52.23)
CIE-LCHlch(54.89, 52.34, 93.83°)
OKLaboklab(61% -0.0154 0.114)
OKLCHoklch(61% 0.115 97.7)
XYZxyz(20.9558, 22.8220, 4.6675)
Luminance0.2282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968320 #203396
analogous
#964820 #968320 #6E9620
triadic
#968320 #209683 #832096
tetradic
#968320 #209648 #203396 #96206E
square
#968320 #209648 #203396 #96206E
split-complementary
#968320 #206E96 #482096
monochromatic
#312B0A #645715 #968320 #C8AF2B #DBC556

Accessibility & contrast

On white

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

On black

5.56
#968320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968320
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968320#FFFFFF#000000##000000
##9683201.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#968627
Tritanopia (blue-blind)
#A27870
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #968320;
/* rgb */ color: rgb(150, 131, 32);
/* oklch */ color: oklch(61.0% 0.115 97.7);
Tailwind
colors: {
  custom: {
    50: '#b9a664',
    500: '#968320',
    950: '#000000',
  },
}
SCSS
$custom: #968320;
$custom-light: #b9a664;
$custom-dark: #000000;
JSON
{
  "hex": "#968320",
  "rgb": {
    "r": 150,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 50.339,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60995,
    "c": 0.11503,
    "h": 97.7
  },
  "luminance": 0.22821
}

Semantic roles & 50–950 ramp

primary
#968320
secondary
#5365BE
accent
#5BE840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968320

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

Preview Lab → · Contrast checker → · Palette generator →

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