#958321#958321

#958321 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.9% C 0.114 H 98.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#958321
RGBrgb(149, 131, 33)
HSLhsl(51, 64%, 36%)
HSVhsv(51, 78%, 58%)
CMYKcmyk(0%, 12.1%, 77.9%, 41.6%)
CIE-LABlab(54.80, -3.91, 51.75)
CIE-LCHlch(54.80, 51.90, 94.33°)
OKLaboklab(60.9% -0.0164 0.1132)
OKLCHoklch(60.9% 0.114 98.3)
XYZxyz(20.7863, 22.7330, 4.7316)
Luminance0.2273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958321 #213395
analogous
#954921 #958321 #6D9521
triadic
#958321 #219583 #832195
tetradic
#958321 #219549 #213395 #95216D
square
#958321 #219549 #213395 #95216D
split-complementary
#958321 #216D95 #492195
monochromatic
#312B0B #635716 #958321 #C7AF2C #DAC557

Accessibility & contrast

On white

3.79
#958321 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#958321 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958321
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958321#FFFFFF#000000##000000
##9583211.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #958321;
/* rgb */ color: rgb(149, 131, 33);
/* oklch */ color: oklch(60.9% 0.114 98.3);
Tailwind
colors: {
  custom: {
    50: '#b8a665',
    500: '#958321',
    950: '#000000',
  },
}
SCSS
$custom: #958321;
$custom-light: #b8a665;
$custom-dark: #000000;
JSON
{
  "hex": "#958321",
  "rgb": {
    "r": 149,
    "g": 131,
    "b": 33
  },
  "hsl": {
    "h": 50.69,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60901,
    "c": 0.11441,
    "h": 98.3
  },
  "luminance": 0.22732
}

Semantic roles & 50–950 ramp

primary
#958321
secondary
#5465BE
accent
#5BE741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #958321

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

Preview Lab → · Contrast checker → · Palette generator →

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