#968421#968421

#968421 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.2% C 0.115 H 98.4°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#968421
RGBrgb(150, 132, 33)
HSLhsl(51, 64%, 36%)
HSVhsv(51, 78%, 59%)
CMYKcmyk(0%, 12%, 78%, 41.2%)
CIE-LABlab(55.17, -4.01, 52.13)
CIE-LCHlch(55.17, 52.29, 94.39°)
OKLaboklab(61.22% -0.0168 0.114)
OKLCHoklch(61.22% 0.115 98.4)
XYZxyz(21.1045, 23.0974, 4.7852)
Luminance0.2310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968421 #213396
analogous
#964921 #968421 #6D9621
triadic
#968421 #219684 #842196
tetradic
#968421 #219649 #213396 #96216D
square
#968421 #219649 #213396 #96216D
split-complementary
#968421 #216D96 #492196
monochromatic
#322C0B #645816 #968421 #C8B02C #DAC657

Accessibility & contrast

On white

3.74
#968421 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#968421 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968421
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968421#FFFFFF#000000##000000
##9684211.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810C
Deuteranopia (green-blind)
#968728
Tritanopia (blue-blind)
#A27A71
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #968421;
/* rgb */ color: rgb(150, 132, 33);
/* oklch */ color: oklch(61.2% 0.115 98.4);
Tailwind
colors: {
  custom: {
    50: '#b9a765',
    500: '#968421',
    950: '#000000',
  },
}
SCSS
$custom: #968421;
$custom-light: #b9a765;
$custom-dark: #000000;
JSON
{
  "hex": "#968421",
  "rgb": {
    "r": 150,
    "g": 132,
    "b": 33
  },
  "hsl": {
    "h": 50.769,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61222,
    "c": 0.11523,
    "h": 98.4
  },
  "luminance": 0.23096
}

Semantic roles & 50–950 ramp

primary
#968421
secondary
#5565BE
accent
#5AE741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968421

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

Preview Lab → · Contrast checker → · Palette generator →

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