#968121#968121

#968121 is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.6% C 0.113 H 96.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#968121
RGBrgb(150, 129, 33)
HSLhsl(49, 64%, 36%)
HSVhsv(49, 78%, 59%)
CMYKcmyk(0%, 14%, 78%, 41.2%)
CIE-LABlab(54.34, -2.34, 51.36)
CIE-LCHlch(54.34, 51.41, 92.61°)
OKLaboklab(60.56% -0.012 0.1124)
OKLCHoklch(60.56% 0.113 96.1)
XYZxyz(20.7035, 22.2955, 4.6515)
Luminance0.2229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#968121 #213696
analogous
#964621 #968121 #709621
triadic
#968121 #219681 #812196
tetradic
#968121 #219646 #213696 #962170
square
#968121 #219646 #213696 #962170
split-complementary
#968121 #217096 #462196
monochromatic
#322B0B #645616 #968121 #C8AC2C #DAC357

Accessibility & contrast

On white

3.85
#968121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#968121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #968121
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##968121#FFFFFF#000000##000000
##9681211.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0E
Deuteranopia (green-blind)
#948527
Tritanopia (blue-blind)
#A2766F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #968121;
/* rgb */ color: rgb(150, 129, 33);
/* oklch */ color: oklch(60.6% 0.113 96.1);
Tailwind
colors: {
  custom: {
    50: '#b9a564',
    500: '#968121',
    950: '#000000',
  },
}
SCSS
$custom: #968121;
$custom-light: #b9a564;
$custom-dark: #000000;
JSON
{
  "hex": "#968121",
  "rgb": {
    "r": 150,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 49.231,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60562,
    "c": 0.11299,
    "h": 96.1
  },
  "luminance": 0.22294
}

Semantic roles & 50–950 ramp

primary
#968121
secondary
#5568BE
accent
#5FE741
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #968121

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

Preview Lab → · Contrast checker → · Palette generator →

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