#968721#968721

#968721 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.9% C 0.118 H 100.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#968721
RGBrgb(150, 135, 33)
HSLhsl(52, 64%, 36%)
HSVhsv(52, 78%, 59%)
CMYKcmyk(0%, 10%, 78%, 41.2%)
CIE-LABlab(56.01, -5.66, 52.91)
CIE-LCHlch(56.01, 53.21, 96.10°)
OKLaboklab(61.89% -0.0214 0.1157)
OKLCHoklch(61.89% 0.118 100.5)
XYZxyz(21.5172, 23.9228, 4.9227)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968721 #213096
analogous
#964C21 #968721 #6A9621
triadic
#968721 #219687 #872196
tetradic
#968721 #21964C #213096 #96216A
square
#968721 #21964C #213096 #96216A
split-complementary
#968721 #216A96 #4C2196
monochromatic
#322D0B #645A16 #968721 #C8B42C #DAC957

Accessibility & contrast

On white

3.63
#968721 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#968721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968721
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968721#FFFFFF#000000##000000
##9687211.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830A
Deuteranopia (green-blind)
#998928
Tritanopia (blue-blind)
#A27D74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #968721;
/* rgb */ color: rgb(150, 135, 33);
/* oklch */ color: oklch(61.9% 0.118 100.5);
Tailwind
colors: {
  custom: {
    50: '#b9a965',
    500: '#968721',
    950: '#000000',
  },
}
SCSS
$custom: #968721;
$custom-light: #b9a965;
$custom-dark: #000000;
JSON
{
  "hex": "#968721",
  "rgb": {
    "r": 150,
    "g": 135,
    "b": 33
  },
  "hsl": {
    "h": 52.308,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61886,
    "c": 0.11762,
    "h": 100.5
  },
  "luminance": 0.23922
}

Semantic roles & 50–950 ramp

primary
#968721
secondary
#5562BE
accent
#56E741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968721

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

Preview Lab → · Contrast checker → · Palette generator →

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