#958221#958221

#958221 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.7% C 0.114 H 97.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#958221
RGBrgb(149, 130, 33)
HSLhsl(50, 64%, 36%)
HSVhsv(50, 78%, 58%)
CMYKcmyk(0%, 12.8%, 77.9%, 41.6%)
CIE-LABlab(54.52, -3.36, 51.49)
CIE-LCHlch(54.52, 51.60, 93.73°)
OKLaboklab(60.68% -0.0149 0.1127)
OKLCHoklch(60.68% 0.114 97.5)
XYZxyz(20.6526, 22.4657, 4.6870)
Luminance0.2246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#958221 #213495
analogous
#954821 #958221 #6E9521
triadic
#958221 #219582 #822195
tetradic
#958221 #219548 #213495 #95216E
square
#958221 #219548 #213495 #95216E
split-complementary
#958221 #216E95 #482195
monochromatic
#312B0B #635616 #958221 #C7AE2C #DAC457

Accessibility & contrast

On white

3.82
#958221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#958221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #958221
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##958221#FFFFFF#000000##000000
##9582211.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#958528
Tritanopia (blue-blind)
#A1786F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #958221;
/* rgb */ color: rgb(149, 130, 33);
/* oklch */ color: oklch(60.7% 0.114 97.5);
Tailwind
colors: {
  custom: {
    50: '#b8a564',
    500: '#958221',
    950: '#000000',
  },
}
SCSS
$custom: #958221;
$custom-light: #b8a564;
$custom-dark: #000000;
JSON
{
  "hex": "#958221",
  "rgb": {
    "r": 149,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 50.172,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6068,
    "c": 0.11365,
    "h": 97.5
  },
  "luminance": 0.22465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #958221

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

Preview Lab → · Contrast checker → · Palette generator →

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